Mousham khatiwada about 1 year ago
4 Claps
1 Comments
Rabin Kalikote

Happy Mother's Day, sir.

Nikas Ghimire asked a question


#include<stdio.h>

#include<conio.h>

#include<string.h>


int main() {

int i, number, num1, num2=0;

char str1[50];

num1 = number;

for(i=2; i<=20; i+=2) {

printf("%d", i);

printf(", ");

}


return 0;

}


2 Thanks
2 Answers
Nikas Ghimire asked a question


Program to input any number and display number of odd numbers in it;



#include<stdio.h>

#include<stdlib.h>

#include<conio.h>

#include<string.h>


int main() {

int i, number, num1, num2=0, num3, num4 =0, rem, rem1, rem2, rev = 0;

printf("Enter your number ==> ");

scanf("%d", &number);

num1 = number;

while(num1 != 0) {

rem = num1%10;

rem1 = rem%2;

if (rem1 != 0) {

num2 = num2*10 + rem;

}

num1 /= 10;

}

num3 = num2;

while (num2 != 0) {

...

0 Thanks
2 Answers
Pratik Adhikari asked a question

At dawn and dusk, large amount of blue and violet light(shorter wavelength) has been scattered so, the light that is recieved by an observer is mostly of a longer wavelength and therefore appears to be red.

11 Thanks
2 Answers
Shrajesh thapa asked a question

The Wheatstone bridge is not suitable for measuring very low resistance because it is based on a ratio of two resistances, and the resolution of the bridge decreases as the ratio approaches 1. This means that the Wheatstone bridge is not accurate enough to measure very small changes in resistance.

1 Thanks
2 Answers
Close Open App