Write a program to calculate primes less than one hundred prints.
Answered Feb 05, 2023
#include <stdio.h>
int main() { int i, a = 1, count;
while(a <= 100) { count = 0; i = 2; while(i <= a/2) { if(a%i == 0) { count++; break; } i++; } if(count == 0 && a != 1 ) { printf(" %d ", a); } a++; } return 0; }
Correct Answer - `mu = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12---------, 99}`
(2) Less proteins and more waste products
Correct Answer - `(i) 1/2 (ii) 2/3 (iii) 2/3 (iv) 1/3 (v) 5/6 (vi) 1/6`
Correct Answer - ` (i) 5/12 (ii) 25/36 (iii) 1/4`
Correct Answer - `(i) 7/25 (ii) 22/25 (iii) 3/5`
Correct option is: (B) less than 1
Correct Answer - `{:((a)0.7,(b)20.9,(c)14.6,(d)102.0,(e)600.8):}`
B) Conjecture
A) always true
1. A = {1, 2, 3, 4, 5, 6, 7} 2. {2, 4, 6} or {2, 4, 6, 7} 3. 10. (since other are powers of 2.)
Log in to ask questions, provide answers, or leave comments.
Install the Bissoy app to consult with a doctor.