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

Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1757


How to explain the final year project as a fresher please answer with sample project

459


Why c is called free form language?

557


What is a nested formula?

595


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1891






What is a rvalue?

738


What tq means in chat?

570


Did c have any year 2000 problems?

647


How can I recover the file name given an open stream or file descriptor?

586


What is %lu in c?

671


Write a program to check whether a number is prime or not using c?

566


What is the purpose of the statement: strcat (S2, S1)?

634


What is the c value paradox and how is it explained?

567


how to capitalise first letter of each word in a given string?

1424


What are header files? What are their uses?

629