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 |
What is header file in c?
What is encapsulation?
write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
What is operator promotion?
what wud be the output? main() { char *str[]={ "MANISH" "KUMAR" "CHOUDHARY" }; printf("\nstring1=%s",str[0]); printf("\nstring2=%s",str[1]); printf("\nstring3=%s",str[2]); a)string1=Manish string2=Kumar string3=Choudhary b)string1=Manish string2=Manish string3=Manish c)string1=Manish Kumar Choudhary string2=(null) string3=(null) d)Compiler error
How can you determine the maximum value that a numeric variable can hold?
write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised
Explain what are global variables and explain how do you declare them?
How are variables declared in c?
What are the advantages and disadvantages of a heap?
int i=10; printf("%d %d %d", i, i=20, i);