subject

1. Se citește un număr natural n de la tastatură. Să se afișeze un mesaj corespunzător dacă numărul este par sau impar.
int main()
{ int n;
cout<<:dati n=”;
cin>>n;
if (n%2==0)
cout<<”numar par”;
else
cout<<”nuar impar”;
} (ma puteti ajuta va rog?)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
What function key is used to enable the spelling and grammar function
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
A(n) is a step-by-step direction for performing a specific task, which is written in a language the computer can understand.servercachearrayprogram
Answers: 1
You know the right answer?
1. Se citește un număr natural n de la tastatură. Să se afișeze un mesaj corespunzător dacă numărul...
Questions
question
Mathematics, 20.10.2019 08:30
Questions on the website: 13722359