INDIAN LEARNERS OWN ACADEMY, KUWAIT CLASS 11 C++ – ASSIGNEMENT IV – Point out the errors in the following and re-write the program. #include<iostream.h> void main() { cout<<”Enter variable”; cin>>var; sqrs=var * var; cout<<”The square is “<<sqrs; } Identify the errors. int main() { cout<<”enter two numbers”; cin>>num>>auto; float area=length * breadth; } Identify the errors. #include<iostream.h> void main() { int a,b; cin<< >>; if(a>b) MAX=a } Write a program to read values of w,x,y and z and display the value of P, where P=w+x / y-z Write a program to generate the following table. 1992 17865 1993 78864 1994 86436 1995 10865 1996 57483 Write a C++ program that accepts radius of a circle and prints its area.
INDIAN LEARNERS OWN ACADEMY, KUWAIT CLASS 11 – C++ ASSIGNEMENT – IV Point out the errors in the following and re-write the program. #include<iostream.h> void main() { cout<<”Enter variable”; cin>>var; sqrs=var * var; cout<<”The square is “<<sqrs; } Identify the errors. int main() { cout<<”enter two numbers”; cin>>num>>auto; float area=length * breadth; } Identify the errors. #include<iostream.h> void main() { int a,b; cin<< >>; if(a>b) MAX=a } Write a program to read values of w,x,y and z and display the value of P, where P=w+x / y-z Write a program to generate the following table. 1992 17865 1993 78864 1994 86436 1995 10865 1996 57483 Write a C++ program that accepts radius of a circle and prints its area.
Class-11-C-Operators-Assignment-4.docx