update
This commit is contained in:
		@@ -1,5 +1,9 @@
 | 
				
			|||||||
2024-10-29  Mert Gör  <mertgor@masscollabs.xyz>
 | 
					2024-10-29  Mert Gör  <mertgor@masscollabs.xyz>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* c-basic/C.pdf: return value page 22
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* c-basic/abc.c: add a and b double numbers from scanf 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* c-basic/C.pdf: page 21 question/work
 | 
						* c-basic/C.pdf: page 21 question/work
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* c-basic/d-f.c: #include <stdio.h>
 | 
						* c-basic/d-f.c: #include <stdio.h>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										18
									
								
								c-basic/abc.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								c-basic/abc.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int main()
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  double a,b,c;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  printf("enter a number \n");
 | 
				
			||||||
 | 
					  scanf("%lf", &a);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  printf("enter b number \n");
 | 
				
			||||||
 | 
					  scanf("%lf", &b);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  c = a + b;
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  printf("your result and also c number is : %f\n", c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  return 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user