Write a program that takes a 5 digit number and calculates 2
power that number and prints it.



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

Post New Answer

More C Interview Questions

What is an lvalue and an rvalue?

1 Answers  


Explain what is output redirection?

1 Answers  


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1 Answers  


Is c language still used?

1 Answers  


can we have joblib in a proc ?

1 Answers  


What are loops in c?

1 Answers  


how to use enum datatype?Please explain me?

3 Answers   Excel,


Hai friends im a i year student. i want to develop my knowledge in the field of TSR in c. How I'm Improve ?

2 Answers  


which is faster execution: loops or recursion?

3 Answers  


is c language is a object oreinted language?

5 Answers   TCS,


Why do we need a structure?

1 Answers  


what is the difference between call by value and call by reference?

5 Answers   Genpact, Global Logic, Infosys,


Categories