Question: Write a C++ program to compute, and output to the screen, the ratio of the brightnesses of two stars. This ratio is = 100 ,-)15
Write a C++ program to compute, and output to the screen, the ratio of the brightnesses of two stars. This ratio is = 100 ,-)15 where la is the brightness of the brighter star, l, is the brightness of the dimmerlstar, mais the apparent brightness of the brighter star and me is the apparent brightness of the dimmer star. Each of maand meis input by a user via the keyboard. Your submission should include an image of the execution of the program using the values mA = 0.03 (Vega) and me = 0.77 (Altair)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
