Jump to content

I have 20 min left on an exam and don't even know how to approach this question, anyone want to help me gain some extra points? xD

TCO 7) Create an output format statement which would generate lines in the table which appear as shown below. The Element Name Field displays an element name contained in the namevariable. YYY displays an integer value from the  anumvariable which ranges from 1 thru 109 and should be left justified. XXX.XXXX displays an atomic weight value from the aweight variable which ranges from 1.0000 to 268.0000 and should be right justified. Use the variables shown below in your output statements.

Link to comment
https://linustechtips.com/topic/318231-c-test-question/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×