A community for students. Sign up today!
Here's the question you clicked on:
 0 viewing

This Question is Closed

diana_d
 2 years ago
Best ResponseYou've already chosen the best response.0hello,not on C but I know the solution in c++ if it helps???

deEEx
 2 years ago
Best ResponseYou've already chosen the best response.1#include<stdio.h> #include<conio.h> int main(){ int i,j,r; printf("Enter the number of rows: "); scanf("%d",&r); for(i=r;i>=1;i){ for(j=i;j>=1;j) printf("*"); printf("\n"); } return 0; } i used codeblocks, hope it will execute in turbo c.

shubham
 2 years ago
Best ResponseYou've already chosen the best response.0What do you actually want to know ? How to write source codes on turbo C or settings one need to make in TC before writing codes ?

s2
 2 years ago
Best ResponseYou've already chosen the best response.2i just want to know how to print that progrram on scarn.

haidermrz
 2 years ago
Best ResponseYou've already chosen the best response.0#include<conio.h> #include<stdio.h> #include<iostream.h> void main (void) { clrscr(); for(int i=0; i<5; i++) { { for(int j=5; j>i; j) cout<<"*"; } { for(int k=1; k<2*i; k++) cout<<" "; } { for(int l=5; l>i;l) cout<<"*"; } cout<<endl; } getch(); }
Ask your own question
Ask a QuestionFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.