S Social12 Honorary Poster Joined Feb 26, 2018 Posts 322 Reaction 22 Points 188 Sep 18, 2020 #1 ito po yung problem: Write a program to display the output below: You may input number of rows and colums. Sample Output if Applicable * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ito po yung code ko: #include <stdio.h> int main() { int rows, i, j, space; printf("Input number of rows:"); scanf("%d",&rows); for(i = 1; i <= rows; i++) { for(space = i; space < rows; space++) { printf(""); } for(j = 1; j <= (2 * i - 1); j++) { printf("*",); } printf("\n"); } return 0; } Ang out put po ng code ko is Half lang di po sya full na pyramid ano po kaya kulang?
ito po yung problem: Write a program to display the output below: You may input number of rows and colums. Sample Output if Applicable * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ito po yung code ko: #include <stdio.h> int main() { int rows, i, j, space; printf("Input number of rows:"); scanf("%d",&rows); for(i = 1; i <= rows; i++) { for(space = i; space < rows; space++) { printf(""); } for(j = 1; j <= (2 * i - 1); j++) { printf("*",); } printf("\n"); } return 0; } Ang out put po ng code ko is Half lang di po sya full na pyramid ano po kaya kulang?
L LadyClare Forum Master Elite Sep 18, 2020 #3 Attachments You do not have permission to view the full content of this post. Log in or register now.
F fuzzywubby Forum Guru Sep 18, 2020 #4 Mam salamat po. BM ko to kung sakaling ipagawa din samin, cpp din kami eh.
S Social12 Honorary Poster Sep 18, 2020 TS TS #6 ay maam mali po pala yung sample out put na nalagay ko ito po pala yung sample output dapat * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
ay maam mali po pala yung sample out put na nalagay ko ito po pala yung sample output dapat * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
S Social12 Honorary Poster Sep 18, 2020 TS TS #7 [XX='Social12, c: 299083, m: 1093495'][/XX] pyramid po sya maam hindi po sya half lang, di sya nagiging pyramid pag na i comment po kasi
[XX='Social12, c: 299083, m: 1093495'][/XX] pyramid po sya maam hindi po sya half lang, di sya nagiging pyramid pag na i comment po kasi
H homer_simpson Eternal Poster Sep 19, 2020 #8 Ganito ba? Attachments You do not have permission to view the full content of this post. Log in or register now.