Computer Science, asked by rajr32200, 5 months ago

#include

int main()

{

int n=10, k=5;

int num;

scanf("%d",&num);

if(num>=1 && num<=5)

{

printf("NUMBER OF CANDIES SOLD : %d\n",num);

printf("NUMBER OF CANDIES LEFT : %d",n-num);

}

else

{

printf("INVALID INPUT\n");

printf("NUMBER OF CANDIES LEFT : %d",n);

}

return 0;

}

Answers

Answered by Anonymous
3

Quantum mechanics explains how the universe works at a scale smaller than atoms. It is also called quantum physics or quantum theory. Mechanics is the part of physics that explains how things move and quantum is the Latin word for 'how much' . ... Quantum mechanics describes how the particles that make up atoms work.

Similar questions