+ 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
5 Réponses
+ 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;
}
}
+ 1
Sorry i just learned c++
I couldn't find a course to learn c
Sorry about that
+ 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 😊
0
Thank u alot
Mm i understand the idea rather but can u re-write this programe in c language pls 🙂
0
I am glade you could do it