- B C Construct A Simple Program That Can Compute Equation In Figure Q2 B I Score 1 0 2 0 3 0 Divide Score 2 Fig 1 (45.94 KiB) Viewed 41 times
(b) (c) Construct a simple program that can compute equation in Figure Q2(b)(i). Score = 1.0+ 2.0 3.0 Divide score/2 Fig
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
(b) (c) Construct a simple program that can compute equation in Figure Q2(b)(i). Score = 1.0+ 2.0 3.0 Divide score/2 Fig
(b) (c) Construct a simple program that can compute equation in Figure Q2(b)(i). Score = 1.0+ 2.0 3.0 Divide score/2 Figure Q2(b)(i) The output must display as in Figure Q2(b)(ii). Divide = 3.5 Score = 7 Figure Q2(b)(ii) int account number =20; int account balance =100; To display the account balance, [2 marks] I A very elementary code of banking application in unstructured programming language will have two variables of one account number and another for account balance. printf("Account Number=%d, account_number) printf("Account Balance-%d, account balance) [6 marks]