#include<stdio.h>
#include<conio.h>
void main()
{
int n,c,s;
clrscr();
printf("\n\tEnter Any Number : ");
scanf("%d",&n); //input
printf("\n\t--------------------");
printf("\n\tInput Number = %d",n);
s=n*n;
c=n*n;
printf("\n\tSqaure = %d",s);
printf("\n\tCube = %d",c);
printf("\n\t--------------------");
getch();
}
|
Output |
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
SQUARE & CUBE OF INPUT NUMBER
Subscribe to:
Posts (Atom)
JAC Board Computer || IIT 2025 || Introductory Information Technology || Class 10 || Practical Examination 2025
Marks Division HOE 30 Marks IT Application Report File 20 Marks Viva - Voce 10 Marks 1) Write an HTML code to generate a web p...
-
1) TCP/IP - Transmission Control Protocol/ Internet Protocol. 2) HTTPs - Hyper Text Transfer Protocol. 3) ICT - Information Comunication Te...
-
1) What is Make Code Arcade? Answer: Make Code Arcade is a coding platform that enables to create block – based program. 2) How ...
-
Programmingway@Eklavya Technosys!: New Year's 2025 | Happiness & Healthier's Life Sty... : भारत कई धर्मों का संगम है, हिंदू, मुस...
No comments:
Post a Comment