skip to main
|
skip to sidebar
programing
this blog is for the new programmer in programing field...
Home
Link 1
Link 2
Link 3
Link 4
RSS
input two numbers and prints its square and cube
Posted by
hemant
at
9:54 AM
/* print input two numbers and prints its square and cube */
#include
#include
void main()
{
int i;
clrscr();
printf("enter number: ");
scanf("%d",&i);
printf("\nsquare of number is %d",i*i);
printf("\ncube of number is %d",i*i*i);
getch();
}
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
Posts
▼
2010
(56)
▼
December
(56)
java program to validate email address
gtu operating system practicle
JAVA GTU PROGRAMMING
reverse number
sorting numbers
array operation
pattern
pattern
pattern
pattern_2
pattern_1
fibonaci series
link list operation
stack operation
print squre and cube
pattern_1
check number is armstrong
prime number
factorial number
sum of each digit
reverse of number
print the total of 1-2+3-4+5-6+7-8+9-10...
print the total of 1/2 + 2/3+......+9/10. ...
print 2,11,20,28,35,41,46,50,53,55,56...
print 1,10,2,9,3,8,4,7,5,6...
print 1,3,5,7,9...
leap year or not
circle ,rectangle,square and triangle using switch...
input mark and calculate the percentage
character in lower case to upper case
maximum among 2 numbers
rupees converted into dollar
area of triangle
area of circle
verify the formula - 4
verify the formula - 3
verify the formula - 2
verify the formula
addition,subtraction,multoplication and division
input two numbers and prints its square and cube
value is less greter or equal to zero
value of an integer variable and print
pattern_5
pattern_4
pattern_3
pattern_2
pattern_1
a program to find primes nos. from 2 to 100
a program that displays the divisors of number
Print out the alphabet and ascii value
program to convert Fahrenheit to Celsius
Student marks details
java program 4
Write a program to perform different bit wise oper...
write a program to find sum of 5 short type vari...
write a program to find AVERAGE of 3 byte type v...
Categories
c programing
(27)
c++ programing
(9)
data structure
(2)
java programing
(17)
unix operating system
(1)
© 2010
programing
|
Blogger.com
Template Blogger
|
free7
seo friendly blogspot templates
0 comments:
Post a Comment