-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsprac.c
76 lines (49 loc) · 1.35 KB
/
newsprac.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("hello brothers\n\t");
printf("hello brothers\n\t");
printf("hello brothers\n\t");printf("hello brothers\n\t");
printf("hello brothers\n\t");
printf("hello brothers\n\t");
printf("hello brothers\n\t");printf("bree\n\t");
printf("345 is %f %d\n\t", 56.0,67);
printf("hello %lf brothers\n\t", 34678.876345678924);
printf("hello %c brothers\n\t", 'y');
printf("hello %x brothers\n\t", 16);
puts("hello brothers\n\t");
printf("\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb");
long cr;
D:
printf("put no (max_ten digits):\t ");
scanf("%ld", &cr);
printf("\n\thello brothers\n\t");
printf("hello brothers\n");
long fre;
long tad;
float pad;
fre = cr + 35*2;
printf("\t%ld", fre);
tad=fre*12;
printf("\n\tDear , your tad is:\t %ld", tad);
pad = tad/fre;
int f=(tad%fre);
printf("\n\n\tpad-figure, %lf with modulus: %d", pad,f);
float g=(5/2);
int r=5%2;
printf("\n\n\t%f, %d", g,r);
printf("\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb\xdb");
int yam, cat;
cat = pad*3;
yam = (fre>1234) ? cat : cr;
printf("\n\n\tthe yam-no. is: %d\n\t", yam);
int e ;
puts("put 1 to continue or any other to exit");
scanf("%d", &e);
if(e==1){
goto D;
}
else;
return (tad);
}