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


Please Help Members By Posting Answers For Below Questions

Does c have function or method?

592


Which header file should you include if you are to develop a function which can accept variable number of arguments?

811


Is it cc or c in a letter?

568


When c language was developed?

643


Is it possible to execute code even after the program exits the main() function?

819






Why do we write return 0 in c?

556


Explain what is the advantage of a random access file?

667


How are strings stored in c?

596


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2575


Is javascript based on c?

595


Which driver is a pure java driver

994


What is an example of structure?

589


Can we access the array using a pointer in c language?

564


int far *near * p; means

3123


Explain what is the purpose of "extern" keyword in a function declaration?

624