English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Mathematics - 4 October 2007

[Selected]: All categories Science & Mathematics Mathematics

write a c++ program that would print a calendar. input month number from 1 to 12 only, number of the days in a month and the first day of the month from 1 to 7.
sample output
screen 1
input month number: 12
enter year: 2005
first day of the month: 4

2nd screen
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

(the 2nd screen should look like a CALENDAR but due to typing error th number are not align into the month)

2007-10-04 04:06:42 · 2 answers · asked by dexie 1

A bus is scheduled to leave at 5.00 pm. A person who wants to catch the bus takes a rickshaw at 4.35 pm from his home. If there is not much traffic on the road he can reach the bus stand in 10 minutes, while in heavy traffic, it may take him 35 minutes. Further it takes him 3 minutes to locate his bus in the stand. Let X denote the time taken for the rickshaw to reach the stand from his home and suppose X has uniform distribution on the interval (10, 35). Obtain the probability that the person catches the bus.

2007-10-04 03:31:35 · 3 answers · asked by mark_fraser 1

2007-10-04 03:12:44 · 7 answers · asked by seth d 1

2007-10-04 03:10:00 · 3 answers · asked by seth d 1

lim (ln cot x)^tan x
x tends to 0

2007-10-04 02:21:12 · 2 answers · asked by Harsh 2

Please help me!

2007-10-04 01:52:54 · 9 answers · asked by C G 2

2007-10-04 01:40:04 · 12 answers · asked by . 1

f(x) = cos(ln x)

2007-10-04 01:16:53 · 3 answers · asked by Anonymous

x'' - 3x' + 2x = 0
where x(0)= x and x'(0)= 6

Solution is to be given in the form of a function, using t as variable:
x(t)= ...

2007-10-04 01:03:51 · 4 answers · asked by JP 1

dx/dt = 2x - 7y
dy/dt = 5x + 10y + 4z
dz/dt = 5y + 2z

Thanks very much! :)

2007-10-04 00:51:31 · 1 answers · asked by Jan R 1

...... [ 0 6 0 ]
X' = [ 1 0 1 ] X
...... [ 1 1 0 ]
on the interval (-∞, ∞) is
............. [ 6 ] ...................... [ -3 ] ..................... [ 2 ]
X = c_1 [ -1 ] e^(-t) + c_2 [ 1 ] e^(-2t) + c_3 [ 1 ] e^(3t)
.............. [ -5 ] .................... [ 1 ] ...................... [ 1 ]

N.B. : Please ignore the "......"s, plus "_" means subscript, and the three " [ "s (which are to the right of c_1, c_2 and c_3) should actually be one big " [ " (for each term).

Thanks!

2007-10-04 00:46:07 · 2 answers · asked by Anonymous

2007-10-04 00:45:53 · 8 answers · asked by . 1

fedest.com, questions and answers