cls
input "enter a no"; num
if num mod 14= num then
print "no is divisible"
else
print "not divisible"
end if
end
No it is not divisible by 7
In GW-BASIC, you can print even numbers from 1 to 100 using a simple loop. Here’s a sample code: FOR i = 1 TO 100 IF i MOD 2 = 0 THEN PRINT i NEXT i This program iterates through numbers 1 to 100 and prints each number if it is even (i.e., divisible by 2).
No, but 504 is divisible by 7.
23 is not divisible by 7.
all numbers are divisible by 7.
7 is not divisible by 104 and 104 is not divisible by 7.
Not only is 119 divisible by 7 but it is evenly divisible by 7.
No it is not divisible by 7
In GW-BASIC, you can print even numbers from 1 to 100 using a simple loop. Here’s a sample code: FOR i = 1 TO 100 IF i MOD 2 = 0 THEN PRINT i NEXT i This program iterates through numbers 1 to 100 and prints each number if it is even (i.e., divisible by 2).
23 is not divisible by 7.
no 7 is divisible by 14. :)
No, but 504 is divisible by 7.
Reference:http:cprogramming-bd.com/c_page2.aspx# strange number
No, 604 can't be divisible by 7.
No, 7 is a natural number divisible by 7 and not 14 for example. In fact every odd multiple of 7 (i.e. 7 times 1,3,5,7,...) is divisible by 7 and not 14.
all numbers are divisible by 7.
The program you've provided appears to be written in a BASIC-like syntax. The REM statement is a comment and does not affect the execution, so "A equals 5" is ignored. The print ali let equals 7 seems to be malformed; it should likely be split into separate statements for proper execution, such as PRINT ali and LET A = 7. As it stands, the program will likely result in a syntax error.