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 |
How can I access memory located at a certain address?
What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,
Program to swap the any two elements in an array containing N number of elements?
1 Answers Bosch, Glenwood, Ugam Solutions,
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
Can we initialize extern variable in c?
Which is better malloc or calloc?
What is the difference between int main and void main?
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
Explain what is a const pointer?
Is c programming hard?
How can you determine the maximum value that a numeric variable can hold?
write a program to print largest number of each row of a 2D array