#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
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
English,
2 months ago
English,
2 months ago
Political Science,
5 months ago
World Languages,
5 months ago
French,
10 months ago
Accountancy,
10 months ago
Hindi,
10 months ago