or
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
Himal Rimal asked a question
Shortwave radio is used for broadcasting of voice and music, and long-distance communication to ships and aircraft, or to remote areas out of reach of wired communication or other radio services and that’s why it is more energetic than long waves. Shortwave radio is radio communication using the upper MF (medium frequency) and all of the HF (high frequency) portion of the radio spectrum, between 1,800–30,000 kHz. Shortwave radio received its name because the wavelengths in this band are...
4 Thanks
2 Answers
Bijaya Rajbhandari asked a question

1) That old man is Aksionov.

2) The speaker is asking about the truth of digging an escape hole .

3) The speaker means the prison's wall.

2 Thanks
2 Answers
Jessica Yadav asked a question

zinc will react with sulphuric acid forming zinc sulphate dissolved in solution and releasing hydrogen gas.
Zn + conc. 2 H2SO4 ZnSO4 + SO2 + 2 H2O

3 Thanks
2 Answers

Mattrab Community

Create, share and learn from the unlimited notes, photos and videos and ask your questions, answer your friends all over Nepal and grow. Create, share and learn.

Ask Mattrab is changing soon

We are excited for you to try new features. What are you excited about?

Close Open App