Hi, this program need to ask 10 random questions with a random month name.
Example: RUN How many days are there in the month of March? 28 No March has 31 days.
How many days are there in the month of November? 30 Correct!
int total=0; using namespace std; int main() {
cout< string names[12] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"} ;
int i, ans;
unsigned int seed;
seed=time(0);
srand(seed);
for (i = 0; i < 12; i++)
{ names[i]=1+rand()%12;
cout<<"How many days are in a month of" < }
else
{
cout<<"Incorrect"< cout<<"Correct";
total+=10;
C++ program not running Hi, this program need to ask 10 random questions with a random month name.
Example:
RUN
How many days are there in the month of March? 28
No March has 31 days.
How many days are there in the month
program of c write a program in c to display a to z without using printf or scanf statements or header files
About running the Applet Program Hi
I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)?
Is compiling
About running the Applet Program Hi
I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)?
Is compiling
Running core java program I am jayesh raval. I am going to make simplae program and at the time of runnint that program I found class not found exception. I have clear source of that program and that is right in the syntax. so
program is not running in Eclipse.... Hi i following the tutorial for eclips in roseindia. I am able to creat the simple java application but when i am clicking windows->show view->console then i am getting the console
c++ program Write a program which reads a text from the keyboard and displays the following information on the screen in two columns:
(a) Number of lines
(b) Number of words
(c) Number of characters
Strings should be left
C Program Why doesn't the code
int a = 1000, b = 1000;
long int c = a * b;
work?
plz help me sir
c program plz send me program for this. write a program to print the following code? (in c language)
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10 11
2 3 4 5 6 7 8 9 10
c program plz send me program for this. write a program to print the following code?
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10 11
2 3 4 5 6 7 8 9 10 11 12
3 4
C program hi, here is my question:
Create a structure to specify data on students given below: Roll number, Name,Department, Course, Year... a function to print names of all students who joined in a particular year. (c
process of compiling and running java program Explain the process of compiling and running java program. Also Explain type casting
program in c Write a program that inputs five different integers from the keyboard, then print the sum, the product, the smallest and the largest of these numbers. Use only single selection form of if statement.
For example: 1 3
method overloading in c program how is method overloading in C program is different from C++ program
malloc in c example program What is malloc in c? Please explain the term using an example in C program.
Thanks
C Program with Database Connectivity How To Connect MySQL Database in C Program with Graphics
C program Write a C program for airport simulation using queue data structures.
Please reply me
c program given the string "wordprocessing",write a program to read the string from the terminal and display the same in the following formats:
a) word processing
b) word
processing
c) w.p.
C program to print the following Hello,
Some one help me with a "C Program" to print the following as output:
4444444
4333334..., that is why I choosed Java Beginners, but please give me a C program
C Program C program to find division of two fraction number without...:
#include
#include
#include
int main () {
int a;
int b;
int c;
int... in the form a/b: ");
scanf("%d/%d", &c, &d);
nr=a*d;
dr=b*c;
printf("%d/%d",nr,dr
c program 1. How to write a program to Add 2 numbers without using int .size should be more than machine size
C program develop a simple program in C that allows a user to enter... and then the program;
a)First determines whether the 3 integers entered represent the sides..., the program should print the following;
The three integers form a Right-angled
C program write a C program to print multiplication table using pointers. Hi Friend,
Try the following code:
#include
#include
void main() {
int i,j;
int * pt;
clrscr();
printf(" ");
printf("\n
about a program in c language Write a program that inputs five different integers from the keyboard, then print the sum, the product, the smallest and the largest of these numbers. Use only single selection form of if statement
C program Thank You .
Write some C programs using pointers .
Write some C programs using files.
Please reply me . Hi Friend,
Please visit the following link:
http://www.roseindia.net/c
c++ program of inheritance Assume that a bank maintains two kinds of accounts for customers, one called as savings account and the other as current....
(b) Display the balance
(c) Compute and deposit interest.
(d) Permit
C Programming SubString Program Sir I want to Check whether the Single Substring is present in the given 3 string. characters.
eg if i entered... entered to check PROGRAM is exists in given three strings then output
C Program....PLEASE HELP For this assignment, you are to write a program that calculates points along a rhodonea curve,
a.k.a. a mathematical rose, and produces a simple character plot of the results, using functions,
arrays
C Program How to do sum of Diagnol Matrix
e.g
3 6 9
4 5 7
7 6 9
I want to display sum of 3+5+9 i.e to do sum of Diagnol Matrix
plz Help Me Hi Friend,
Try the following code:
#include
#include
C program Thanks!!!!!!!!!!
Please reply me some programs for DATA STRUCTURES (LINKED LISTS,ETC) Hi Friend,
Try the following code:
# include
# include
#include
struct element *temp;
struct
Problem in running first hibernate program.... Hi...I am using eclipse ganymede and mysql.I have already configured mysql and did few sample programs.It worked fine.To run a hibernate sample program,I followed the tutorial below
Why is my program running an infinite loop? Parallel Arrays Program Calculate and print the average (this works)
Search for Joel in the list, print his data----for some reason this is outputting the wrong data and is outputting
Compiling and Running Java program from command line - Video tutorial... of compiling and running java
program from command line. We have also video... to explain you the process of
compiling and running the Java program from command
C Program Question How i can calulate sum of First digit and last digit of Five Numbers.
e.g 12345
i want to calculate 1+5=6
how i can calculate in C Program?
Hi Friend,
Try the following code
Write a C/C++ program to show the result of a stored procedure how to write this??
Write a C/C++ program to show the result of a stored procedure "PROCRESETMAIL" on database "USER_NOTIFY
write a program in C to print following triangles on the screen write a program in C to print following triangles on the screen
write a program to use for loop print **********========== in c language write a program to use for loop print **========== in c language
program on k-map with graphical circuit in c write a program in c to solve k-map with digital circuit
C Program to Print Stras How I can Print Following Output using Two For loops in C Language?
*
* *
* * *
* * * *
* * *
* *
* Hi Friend,
Try the following:
#include
#include
void main(){
int i=0
C Program to Print Pascal Triangle I want C Program to Print Pascal Triangle. Hi Friend,
Try the following code:
#include
#include
void main(){
int a[15][15],i,j,rows,num=25,k;
printf("\n enter
C Program to Print Following Output Hello Sir I wnat to print Followning output in C Language with for loop How I Can Print it?
5
5 4
5 4 3
5 4 3 2
5 4 3 2 1 Hi Friend,
Try the following:
#include
How to print the following output using c program 1) 4
3 4
2 3 4
1 2 3 4
2) A
B C
D E F
G H I J
how to get following answer in turbo c program input 123456789
output
1
2
3
4
5
6
7
8
9
c programming..what wil be the output of this program #include
int main()
{
int arr[] = {0,1,2,3,4};
int i,*ptr;
for (ptr=arr+4; ptr= arr; ptr--) {
printf("%d",*ptr
How To Connect MS ACCESS 2003 Database in C Program with Graphics. How To Connect MS ACCESS 2003 Database in C Program with Graphics
Write a C language program to read two matrices and multiply them? Write a C language program to read two matrices and multiply them?
 ...;stdio.h>
#include <conio.h>
int main()
{
int m, n, p, q, c, d, k, sum
C Program for Addtion of 2*2 Diagnol Matrix Hello Sir,
I want C Program to Do Addtion of Diagnol Matrix in C language.
Plz Give Me Hi...],b[2][2],c[2][2],i,j;
clrscr();
printf("Enter the First matrix:\n");
for(i=0