dim a
input a
write a c program to accept a number and generate a square root cube and exponential values
That really depends on what sort of program you are trying to build, what do you want the program to do?
you cant
c program is fast and efficient.And c programm can be write with vareity of type variables and operations.
To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;
Use list assignment i.e. for two variables $a, $b: ($a,$b) = ($b,$a)
happy birthday...
Write a program to accept name and store the name in its short form (e.g. Sikkim Manipal University should be stored as SMU)
(ab)*b
If you do not know then you cannot write a program. The compiler is not clairvoyant so it cannot do it for you.
First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.
a=a^b; b=a^b; a=a^b;