Write a program that takes a 5 digit number and calculates 2
power that number and prints it.
Answer / srikanth u
data num;
digit=today();
power=digit*digit;
run;
proc print data=num;
run;
I hope it will be the answer, if its wrong, please let me know the correct way.
Thank you.
Is This Answer Correct ? | 1 Yes | 1 No |
What is the use of static variable in c?
char ch="{'H','I',0};printf("%s",ch);what is output
Explain what are binary trees?
why do we use pointer instead directly acessing the data?
What is variable initialization and why is it important?
b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
List some of the static data structures in C?
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
Explain what is operator promotion?
write a program to arrange the contents of a 1D array in ascending order
write a program for even numbers?
main() { clrscr(); } clrscr();