Write a program that takes a 5 digit number and calculates 2
power that number and prints it.
Answer Posted / 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 |
Post New Answer View All Answers
What are Macros? What are its advantages and disadvantages?
What are the three constants used in c?
What does 2n 4c mean?
Does c have class?
Explain how do you list files in a directory?
Is c# a good language?
What is call by value in c?
How can I do peek and poke in c?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
How do we open a binary file in Read/Write mode in C?
What are header files and explain what are its uses in c programming?
What is pointers in c with example?
What is nested structure?
Is c a great language, or what?
What is difference between array and pointer in c?