Sorry for disturb you all, but a I'm newbie..because my teacher give a assignment..

this my assignment..

Machine Problem

1. Make a C program that will display "I will pass PRGLF" on the center of the screen.

2. Design a program in C language that will display "#" at every corners of the screen.

3. Construct a program that will display your name, address, and contact number on the upper left corner of the screen.

4. Create a program in C language that will input a temperature in Celsius and display the equivalent temperature in Fahrenheit. (F = 9C/5 + 32)

5. Write a program that will input length in inches and output the equivalent in meters. 1 inches = 2.54 cm, 1 m =100 cm.

i trust in this site for programming... i happy i see this site.

Edited 6 Years Ago by ueoptimum: sorry Clinton Portis

we almost made it half way through step #1, until we ran into a rather significant problem:

this my assignment..

1. Make a C program

Fyi: you are in a C++ forum.

Edited 6 Years Ago by Clinton Portis: n/a

sorry.. i can't start a C++ code, because i don't know what C++ code can start.. I newbie and freshmen in this C++ programming.. i studies this C++ programming but i can't understand all about.. >.<

Edited 6 Years Ago by ueoptimum: n/a

All this 'Design a program that will put 'xyz' on a certain point on the screen' sounds like you're using turbo c.

Look into gotoxy or whatever it is perhaps?

Edited 6 Years Ago by iamthwee: n/a

# 1 this my code but error..

#include<stdio.h>
main ()
{
clrscr ();
gotoxy (35,12);
printf ("I will pass PRGLF");
getch();
}

Search for aheader file which contains these functions under Turbo C

getch();
clrscr ();
gotoxy (35,12);
This article has been dead for over six months. Start a new discussion instead.