C++ Program to find Square and Cube #include<iostream.h> #include<conio.h> void main() { int n,s,c; clrscr(); cout<<"\nEnter Number : "; cin>>n; s=n*n; c=n*n*n; cout<<"\nNumber = "<<n; cout<<"\nSquare = "<<s; cout<<"\nCube = "<<c; getch(); } |
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
Thursday, July 29, 2021
Subscribe to:
Post Comments (Atom)
12th January Swami Vivekanand Jayanti: National Youth Days
The day serves as a reminder to the youth of India to remain steadfast in their goals and contribute positively to society. Swami Vivekanand...
-
1) Workbook - A workbook is like a book and consists worksheets. 2) Worksheet - A worksheet is working area consists rows and columns. By...
-
Programmingway: SSC ICT PAPER PATTERN : INFORMATION COMMUNICATION TECHNOLOGY (41) (E) (NEW COURSE) NOTE: - (i) All questions are compu...
-
Choose Eklavya, for Computer Education वाह रे जिंदगी, एक साल में बहुत कुछ दिखाया है तूने..!!
No comments:
Post a Comment