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
SAMIR AKHTAR almost 3 years ago
2 Claps
2 Comments
SONU NIGAM SAH

One major difference between Americans and Japanese is their cultural norms and values. For example, Americans tend to value individualism and independence, while Japanese tend to prioritize group harmony and collectivism. This can be seen in various aspects of daily life, such as communication style, decision-making processes, and social interactions. Additionally, the two cultures have different customs and traditions, including food, clothing, and holidays.

Reply over 2y
SONU NIGAM SAH

Some specific types of clothing that Muslim women may avoid wearing in the Muslim community include tight or revealing clothing, short skirts or shorts, sleeveless or low-cut tops, and clothing made from see-through or sheer materials.

Reply over 2y
Sushin Tiwari asked a question

The answer is A 

In the depletion layer, electrons combine with holes producing charge density so that region is depleted of charge carriers  but it has charge density .

Conclusion: Neutral but still having non zero charge density .

8 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
Deekchya Pandit asked a question

a)When silver nitrate comes in contact with skin, it is reduced to white color metallic silver.In most cases, a black stain appears due to formation of finely divided silver which has black color.

The black color is due to the decomposition of the Ag+ ion into Ag, silver. Silver nitrate will slowly decompose with the silver ion reverting to elemental silver. The microscopic particles of silver are so small that they absorb light instead of reflecting it, and so appear black, instead of silver....

0 Thanks
2 Answers
Saroj Shrestha asked a question

If one could be a billionaire by following a how-to guide step by step, you'd have already come across it by now. 

Well, the how-to "BE" part is simple; own anything that's worth a billion- an idea, an asset, a skill, anything. It is the how-to reach that milestone that is mystic. Carve your own path to it. 

Once you find the secret (IF there is one), share it on Mattrab :P 

Or maybe don't ;) let others find their own path.

22 Thanks
4 Answers
grishma gautam asked a question

1.ans:  No the tension in the string of a simple pendulum is not constant throughout the motion                                     

v is velocity of the bob and theta is the angle made by the string with vertical axis.
as v and  both are variable T is also variable.
T is maximum at mean position as at mean position v is max and the angle is minimum.


2.ans: If the amplitude of the simple...

1 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