Answer Posted / kalyan chukka
#include<stdio.h>
#include<conio.h>
void main()
{
int i,n,j;
clrscr();
for(i=0;i<=9;i++)
{
for(j=1;j<=i;j++)
{
printf(" ");
}
printf("%d\n ",i);
}
getch();
}
Check in windows Environment
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is class encapsulation?
class type to basic type conversion
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is abstraction example?
What does it mean when someone says I oop?
What are the three main types of variables?
Get me a number puzzle game-program
to find out the minimum of two integer number of two different classes using friend function
What is the significance of classes in oop?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
#include
What does <> mean pseudocode?
What is ambiguity in inheritance?
Why polymorphism is used in oops?
What does I oop mean?