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, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Which of the following processes applications across multiple computing devices? a. functional application b. distributed system c. workgroup information silo d. information silo
Answers: 3
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, 13.06.2020 09:57
question
English, 13.06.2020 09:57
question
Mathematics, 13.06.2020 09:57
question
Spanish, 13.06.2020 09:57
Questions on the website: 13722363