Popular repositories Loading
-
if-the-marks-obtained-by-a-student-in-five-different-subjects-are-input-through-keyboard-write-a-pr
if-the-marks-obtained-by-a-student-in-five-different-subjects-are-input-through-keyboard-write-a-pr Public#include<stdio.h> int main(){ float math,phy,chem,os,java; printf("Enter maths marks\n"); scanf("%f",&math); printf("Enter physics marks\n"); scanf("%f",&phy); printf("Enter chemistry marks\n"); sc…
-
Temperature-of-a-city-in-Fahrenheit-degreees-is-input-through-the-keyboard.Write-a-program-to-conver
Temperature-of-a-city-in-Fahrenheit-degreees-is-input-through-the-keyboard.Write-a-program-to-conver Public#include<stdio.h> int main(){ float fah,centigrade; printf("Enter temperature of Nagpur city in Fahrenheit\n"); scanf("%f",&fah); centigrade=( fah- 32) *5/9; printf("After converting fahrenheit int…
-
IF-a-five-digit-number-is-input-through-the-keyboard-write-a-c-porgram-to-calculate-the-sum-of-its-d
IF-a-five-digit-number-is-input-through-the-keyboard-write-a-c-porgram-to-calculate-the-sum-of-its-d Public#include<stdio.h> int main(){ int digit; printf("Enter a number whose sum you want\n"); scanf("%d",&digit); int mod=0,div; div=digit; while(div!=0){ mod=div%10+mod; div=div/10; } printf("Sum of dig…
-
if-a-4-digit-number-is-input-through-the-keyboard-write-a-program-to-reverse-the-number
if-a-4-digit-number-is-input-through-the-keyboard-write-a-program-to-reverse-the-number Public#include <stdio.h> int main() { int digit; printf("Enter a number\n"); scanf("%d", &digit); int mod = 0, div; div = digit; printf("Reversed number is "); while (div != 0) { mod = div % 10; div = di…
-
If the problem persists, check the GitHub status page or contact support.