+ 2

Solve this question

Write a program to check whether a number is divisible by 97 or not .

12th Jan 2024, 3:15 PM
Kunal Pal
Kunal Pal - avatar
5 Answers
+ 4
Kunal Pal yes that is correct
12th Jan 2024, 4:11 PM
BroFar
BroFar - avatar
+ 3
Attempts?
12th Jan 2024, 3:39 PM
AĶ¢J
AĶ¢J - avatar
12th Jan 2024, 3:54 PM
BroFar
BroFar - avatar
+ 3
#include<stdio.h> int main() { int number; printf("enter the number :"); scanf("%d",&number); if(number % 97 == 0) { printf("the number is divisble by 97"); } else{ printf("the number is not divisble by 97"); } printf("Hello world!"); return 0; }
12th Jan 2024, 4:02 PM
Kunal Pal
Kunal Pal - avatar
+ 2
If a number is divisible by another number, it means there would be no remainder after the division!
12th Jan 2024, 3:23 PM
šŸ‡®šŸ‡± Radin Masiha šŸ‡®šŸ‡±
šŸ‡®šŸ‡± Radin Masiha šŸ‡®šŸ‡± - avatar