Software & it’s characteristics:
The set of inctruction to aquire input to process them to produce output in term of function and performance.
Efficiency, Reliability, Usability, Partability, Maintainance.
Software & it’s characteristics:
The set of inctruction to aquire input to process them to produce output in term of function and performance.
Efficiency, Reliability, Usability, Partability, Maintainance.
Variable is name of memeory location which stored same data.
1. Variable (Container):
Rules:
a) Variable are case sensitive.
b) 1st character is alphabet or ‘_’.
c) No comma or black space.
d) No other symbol other than ‘_’ .
2.Data Type:
| No. | data type | size of bytes |
| 1. | char or signed char | 1 |
| 2. | unsigned char | 1 |
| 3. | int or signed int | 2 |
| 4. | unsigned int | 2 |
| 5. | short int or signed short int | 2 |
| 6. | unsigned short int | 2 |
| 7. | long int or signed long int | 4 |
| 8. | unsigned long int | 4 |
| 9. | float | 4 |
| 10. | double | 8 |
| 11. | long double | 10 |
3.keywords:
32 keywords
| auto | double | int | struct | break | else |
| long | switch | case | enum | register | typedef |
| char | extern | return | union | const | float |
| short | unsigned | continue | for | signed | void |
| static | goto | sizeof | do | while | volatile |
| default | if |
#include<stdio.h>
int main(){
printf(“\n enter the Fahrenheit of temperature”);
printf(“\n enter the Celcius of temperature”);
scanf(“%f%f”,&F,&C);
C = 5/9*(F-32);
K = C+273.15;
printf(“\n Celcius of temperature in Fahrenheit is : %f”,F);
printf(“\n “)
}