Write a program that asks the user to enter the numbers

Assignment Help Electrical Engineering
Reference no: EM13261954

Write a program that asks the user to enter the numbers from 1 to 16 (in any order) and then display the numbers in a 4 by 4 arrangement, followed by the sums of rows, columns and diagonals. Example:
Enter the numbers from 1-16 in any order: 16 3 2 13 5 10 11 8 9 6 7 12 4 15 14 1
16 3 2 13
5 10 11 8
9 6 7 12
4 15 14 1
Row sums: 34 34 34 34
Column sums: 34 34 34 34
Diagonal sums: 34 34

Reference no: EM13261954

Questions Cloud

Show the project plan - t-test : Target population: Heart Disease Patients in the United States and research variable:Heart Disease Smokers -
What is the mutual inductance of the two-coil system : Two coils of wire are placed close together. Initially, a current of 2.27 A exists in one of the coils, What is the mutual inductance of the two-coil system
What is the phase constant of the given wave : Two sinusoidal waves of the same period, with amplitudes of 7.3 and 7.60 mm, What is the phase constant of the 7.60 mm wave in rads
What are the expected payoffs : Determine what choice they should make using the Hurwicz (? = 0.55) and equal likelihood criteria. What are the expected payoffs?
Write a program that asks the user to enter the numbers : Write a program that asks the user to enter the numbers from 1 to 16 (in any order) and then display the numbers in a 4 by 4 arrangement, followed by the sums of rows, columns and diagonals.
Create the layout design for mos nand3 gate using depletion : Create the layout design for MOS NAND3 gate using a depletion-type transistor with VTL = -0.3V and enhancement-type transistors with VTO = 0.5V such that VOL is less than or equal to 0.1V. VDD = 2.5V , tox = 10nm and 2X = 0.6μm .
What will be the remaining balance on the mortgage : You recently obtained a 30-year, monthly payment. $250,000 mortgage with a 7 percent nominal interest rate.
When both wires oscillate simultaneously : Two identical piano wires have a fundamental frequency of 491 Hz when kept under the same tension.  when both wires oscillate simultaneously
Design a 3-bit synchronous counter using only d-flip flops : design a 3-bit synchronous counter (using only D-flip flops and NAND gates) that produces the sequence 000, 010, 011, 001, 101, 100, 000, etc. whenever the single input is 1. The counter retains its current value whenever the input bit is 0.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd