1 / 3

Symbolic Constants ثابتهاي نمادين

Symbolic Constants ثابتهاي نمادين. #define name replacement-text #define مقدار جايگزيني نام. #include <stdio.h> #include <conio.h> #define LOWER 0 /* lower limit of table */ #define UPPER 300 /* upper limit */ #define STEP 20 /* step size */

grant
Download Presentation

Symbolic Constants ثابتهاي نمادين

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Symbolic Constantsثابتهاي نمادين #define name replacement-text #define مقدار جايگزيني نام

  2. #include <stdio.h> #include <conio.h> #define LOWER 0 /* lower limit of table */ #define UPPER 300 /* upper limit */ #define STEP 20 /* step size */ /* print Fahrenheit-Celsius table for fahr = 0 , 20 , … , 300 */ main() { int fahr ; clrscr() ; for ( fahr = LOWER ; fahr <= UPPER ; fahr = fahr + STEP ) printf( “%3d %6.1f\n” , fahr , ( 5.0 / 9.0 ) * ( fahr – 32.0 ) ) ; } Fahr_def.c initialization test or condition increment

  3. GraphOfGrades Graph_Of_Grades graphofgrades

More Related