As You Like It, Act 2 Scene 7
2
3 nos tomoto
#include<stdio.h> int main() { char prnt = '*'; int i, j, s, nos = 0; for (i = 9; i >= 1; (i = i - 2)) { for (s = nos; s >= 1; s--) { printf(" "); } for (j = 1; j <= i; j++) { if ((i % 2) != 0 && (j % 2) != 0) { printf("%2c", prnt); } else { printf(" "); } } printf("\n"); nos++; } nos = 3; for (i = 3; i <= 9; (i = i + 2)) { for (s = nos; s >= 1; s--) { printf(" "); } for (j = 1; j <= i; j++) { if ((i % 2) != 0 && (j % 2) != 0) { printf("%2c", prnt); } else { printf(" "); } } nos--; printf("\n"); } return 0; }
Buildings.
Please define "2 nos".
no. begining with 2 are 100 in nos.(200-299) no. ending with 2 are 10 in nos. 102-192 so it totals to 110
2- nos- es
11x11
multiplying negative nos with whole nos is quite easy. just multiply like a normal way. for eg- if you wanna multiply -2 with 15 = -2 x 15multiply 15 by 2 = 30and put a minus sign there because one of the nos is negative and other is positive.thus 15 x -2 = -30
The duration of A Bronx Tale is 2 hours.
even