+ 1

Can any one help me to solve this problem:write c program that reads two different integer and print the largest ?

Programe in c language

24th Aug 2016, 11:19 AM
miss comp engineer
miss comp engineer - avatar
5 odpowiedzi
+ 1
there is some other things you can add but i think this is the main idea if it is not tell me please :3 Int main () { Int num1, num2; Cout<<"type two deferent integer\n"; Cin>>num1>>num2; Cout<<" the largest number is: "; If ( num1>num2) { Cout<<num1; } Else { Cout<<num2; } }
24th Aug 2016, 11:36 AM
Raizel TheNoblesse
Raizel TheNoblesse - avatar
+ 1
Sorry i just learned c++ I couldn't find a course to learn c Sorry about that
24th Aug 2016, 2:47 PM
Raizel TheNoblesse
Raizel TheNoblesse - avatar
+ 1
no worries i use your idea and re-write it in c language and the programe is apply 🙂 Thank u alot i benefit from your ideas 😊
24th Aug 2016, 3:18 PM
miss comp engineer
miss comp engineer - avatar
0
Thank u alot Mm i understand the idea rather but can u re-write this programe in c language pls 🙂
24th Aug 2016, 11:41 AM
miss comp engineer
miss comp engineer - avatar
0
I am glade you could do it
25th Aug 2016, 12:51 AM
Raizel TheNoblesse
Raizel TheNoblesse - avatar