#include<stdio.h>
#include<conio.h>
int main()
{
int val1,val2,swap;
printf("Enter both values\n");
scanf("%d %d",&val1,&val2);
printf("val1=%d",val1);
printf("val2=%d",val2);
swap=val1;
val1=val2;
val2=swap;
printf("val1=%d",val1);
printf("val2=%d",val2);
return 0;
}
Write a program using recursion which should take two values and display 1st value raised to the power of second value.
A C program to square matrix is a math problem. In the math problem you write down all the outer boundary values of matrix in a circle, then write down the inner value.
There isn't a reason to write a complete program to do this; in any assembly language just shift the value 1 bit to the left to double it.
write a c program to accept a number and generate a square root cube and exponential values
write a sample program using asp.net explaining all the syntax and semantics of the program
write a vb program to find the magic square
int square (int N) return N*N;
void mynullfunction () {;}
int a,b; a=a+b; b=a-b; a=a-b; that's it simple
Write and run a client and a server program in C-language using UDP
To write a program that prints a text of 4 lines consisting of integer and floating point values, you can use formatted strings in Python. Here's a simple example: int_value = 42 float_value = 3.14 print("Line 1: Integer value is", int_value) print("Line 2: Float value is", float_value) print("Line 3: Sum of values is", int_value + float_value) print("Line 4: Float value to two decimals is {:.2f}".format(float_value)) This code snippet prints four lines, showcasing both integer and floating point values.
write a scripting to return values in functions