create a structures sterling that has three members pounds, siblings and pence all of type int. Write three functions .the first should get these three values separately from the user and return the value as a structure. The second should take two arguments of type string and return the added value as same type .the third function should take the structure as argument and convert it to decimal pounds (double type) and the double value .write a main problem that accept two sterlings inputs from the user as a separate values construct them as structure and add them and display the result in double type
create a structures sterling that has three members pounds, siblings and pence all of type int. Write three functions .the first should get these three values separately from the user and return the value as a structure. The second should take two arguments of type string and return the added value as same type .the third function should take the structure as argument and convert it to decimal pounds (double type) and the double value .write a main problem that accept two sterlings inputs from the user as a separate values construct them as structure and add them and display the result in double type
A 8 Megapixel digital camera stores an eight-bit number for the brightness of each of the primary colours (red, green, blue) found in each picture element (pixel). If every bit is stored (no data compression), how many pictures can be stored on a 256 Megabyte memory card.
A computer uses a memory unit with 256k words of 32 bits each. A binary instruction code is stored in one word of memory. The instruction has four parts, an indirect bit, an operation code, a register code part to specify one of 64 registers, and an address part i. How many bits are there in the operation code, the register code part, and the address ii. Draw the instruction word format and indicate the number of bits in each part. iii. How many bits are there in the data and address inputs of the memory?
For a car ignition to be turned on: (i) the driver must be in the car having all the doors locked having the gear in parking or neutral state, or (ii) the car can be put on using a remote starter from outside without the driver in the car, but all the car doors must be locked with hand brake on and gear in parking state or neutral. Any deviations from these two conditions will set the car security alarm on. i. What are the variables to be used in representing the states? ii. Design a logic circuit for the scenario iii. Modify the design to set the car alarm on for a second after the ignition must have been on for five minutes provided the doors, gear and handbrake are at the initial state and then off the ignition if the states remain the same after the last second.
ask the user to enter three of their favourite television shows. once they have entered there shows,display the results. Use an array to store the three favourite television shows.
What is the fundamental difference between a Layer 2 switch and a Layer 3 router?
Distance Vector Routing was replaced with Link State Routing mainly because of two primary problems. What are they? Name them and elaborate briefly.
Note any areas where you may want or need some further explanation.