Showing posts with label C- Expression. Show all posts
Showing posts with label C- Expression. Show all posts

C- Expression_1.8

#include "stdio.h"
int main (void)
{

C- Expression_1.10

#include "stdio.h"
float main (void)
{

C- Expression_1.9

#include "stdio.h"
int main (void)
{
    int i=8,j=15,k=4;
    int u,v,w;

C- Expression_1.8

#include "stdio.h"
int main (void)
{

C- Expression_1.7

#include
double main (void)
{

double a=1.0,b=2.0,c=3.0,d=4.0;
double u,v,w;
u=a;
v=b*c/d-d;
w=u-v;
printf("%f\n",w);
return 0;

}

C- Expression_1.6

#include "stdio.h"
int main(void)
{
int i=7;
float f=5.5;
char c='w';
printf("%f\n",(i+f));
printf("%d\n",i+c);
printf("%d\n",i+c-'0');
printf("%f\n",(i+c)-(2*f/5));
return 0;
}

C- Expression_1.5

#include "stdio.h"
int main (void)
{
float r1=-0.66,r2=4.50;

C- Expression_1.4

#include "stdio.h"
int main(void)
{
int a=11,b=-3;
printf("%d\n",a+b);

C- Expression_1.3

#include "stdio.h"
int main (void)
{
float v1=12.5,v2=2.0;

C- Expression_1.2

#include "stdio.h"
int main(void)
{
char c1='P',c2='T';
printf("%d\n",c1);

C- Expression_1.1

#include "stdio.h"
int main (void)
{
int a=10, b=3;
printf("%d\n",a+b);