Search
Create a TypeScript program that repeats the values 1 to 100, with the following loop operation: a. The first 10 loops display odd values (1 3 5 7 9) b. The second 10 repetition displays even values (12 14 16 18 20) c. And so on until we get to 100 repetitions. d. Each multiple displays the number of numbers displayed. e. Example output: 10 Repetition 1st : 1 3 5 7 9 -------------------------- Total sum : 25 10 repetitions 2nd: 12 14 16 18 20 -------------------------- Total sum : 80 10 repetitions 3rd : 21 23 … … etc

1 Create a TypeScript program that repeats the values 1 to 100 with the following loop operation

Create a TypeScript program that repeats the values 1 to 100, with the following loop operation: a. The first 10 loops display odd values (1 3 5 7 9) b. The second 10 repetition displays even values (12 14 16 18 20) c. And so on until we get to 100 repetitions. d. Each multiple displays the number of numbers displayed. e. Example output: 10 Repetition 1st : 1 3 5 7 9 ————————– Total sum : 25 10 repetitions 2nd: 12 14 16 18 20 ————————– T

Free Worldwide shipping

On all orders above $50

Easy 30 days returns

30 days money back guarantee

International Warranty

Offered in the country of usage

100% Secure Checkout

PayPal / MasterCard / Visa