Grade9 C++ programs.docx
Document Details
Uploaded by DesirousToucan
Full Transcript
Programs based on C++ 1. WAP in C++ to find the sum of two numbers. \#include\ \#include\ void main() { clrscr(); int a,b,c; cin\>\>a\>\>b; c=a+b; cout\b; q=a/b; r= a%b; cout\
Programs based on C++ 1. WAP in C++ to find the sum of two numbers. \#include\ \#include\ void main() { clrscr(); int a,b,c; cin\>\>a\>\>b; c=a+b; cout\b; q=a/b; r= a%b; cout\