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 about 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 almost 3y
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 almost 3y
Bijaya Rajbhandari asked a question

Aksionov used to drink a lot, was riotous, and was involved in illegal activities before his marriage

2 Thanks
2 Answers
Laxman Khatri almost 3 years ago
0 Claps
1 Comments
SONU NIGAM SAH

Quality of life refers to the overall well-being, satisfaction, and happiness that an individual or a community experiences in various aspects of their lives.

Reply almost 3y
Mattrab Community - SXC asked a question

Log2aa=x    then, a=(2a) ......(1)

Log3a2a=y    then,2a=(3a)y ......(2)

Log4a 3a=z  then, 3a=(4a)z ......(3)

So, 

a=(2a)x  [from (1)]

Or, a=(3a)xy    [from(2)]

Or, a=(4a)xyz     [from(3)]

Multiplying both sides by 4a,

4a.a=4a.(4a)xyz  

Or,(2a)² =(4a)xyz + 1 

Or,(3a)2y =(4a)xyz+1 

Or,(4a)2yz =(4a)xyz+1 

Or, 2yz = xyz+1 .proved.



9 Thanks
2 Answers
Mousham khatiwada almost 3 years ago
5 Claps
1 Comments
Rabin Kalikote

Happy Mother's Day, sir.

Reply almost 3y

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