MaxOfTwo.cpp
Server-Architecture-Firmware/MaxOfTwo.cpp
#include <iostream>
using namespace std;
int main(){
int a = 10;
int b = 20;
cout<<"Enter two numbers a & b Respectively: ";
cout<<"First NUmbers is : "<<a<<endl;
cout<<"Second NUmbers is : "<<b<<endl;
if(a > b){
cout<<"First Number is greater which is "<< a <<endl;
}
else{
cout<<"Second number is greater which is "<< b <<endl;
}
return 0;
}
相关文章
Armstrong.cpp
Armstrong.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/Armstrong.cpp).
阅读文章 →RTTI.cpp
RTTI.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/RTTI.cpp).
阅读文章 →console_input.cpp
console_input.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/console_input.cpp).
阅读文章 →function.cpp
function.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/function.cpp).
阅读文章 →main.cpp
main.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/main.cpp).
阅读文章 →manyifelse.cpp
manyifelse.cpp — cpp source code from the Server-Architecture-Firmware learning materials (Server-Architecture-Firmware/manyifelse.cpp).
阅读文章 →