hp9843116206 hp9843116206
  • 22-12-2020
  • Computers and Technology
contestada

Write a program to input a number and check whether it is divisible by 5 or not​

Respuesta :

usamariaz756
usamariaz756 usamariaz756
  • 01-05-2021

Answer:#include<stdio.h>

void main()

{

        int a;

        clrscr();

        printf ("Enter the no.");

        scanf("%d",&a);

        if(a%5==0)

         {

            printf("No.is Divisible by 5");

         }

        else

        {

              printf("No is not Divisible by 5");

        }

              getch();

}

Answer Link

Otras preguntas

if you believe that you can do it then your faith is not superficial a. shallow b. deep c. consistent
Company A charges $28.50 plus $18 per room to clean carpet. Company B charges $16.50 plus 20 per room. Write an equation that can be used to find the number of
How can syllabification help a reader? it provides the synonyms of a word it provides the definition of a word it can help a reader understand the pronunciation
What is the square root of 52 in trigonometry?
what is the asnwer to baldis basics 3rd question
Write the expression of polynomial a given the roots: x = -2i and 3 Help please!!!!!!!!!!!!!!!!!!!!!?
Show ur work And Check it
7 1/2 x 7 1/2= 49 what do I do to make the statement true?
describe the process by which abbysal plains are created
but in different directions Circle the two antonyms in each group of four words. 6. alert drowsy compatible patient 7. familiar slight alert burly 8. precious d