Write a program which print complete name and the city name

Assignment Help Electrical Engineering
Reference no: EM13295776

Write a program which print your complete name andyour city name at the middle two rows of the screen with the following attributes.
Use white back ground and blue foreground color ifthe length of the name is greater than the length of the city name.
Use Black background and red foreground color ifthe length of the city name is greater than the length of yourname.

Reference no: EM13295776

Questions Cloud

What altitude change can a rider achieve : An electric scooter has a battery capable of supplying 150 Wh of energy. what altitude change can a rider achieve when driving in hilly terrain
How many directors can the becker family be assured : Coase Corp. has 10,000,000 outstanding shares. There are 11 directors on the firm's board. The Becker family owns 2,300,000 shares of Coase Corp. How many directors can the Becker family be assured of electing by themselvecs if Coase Corp. uses ma..
How many directors can cumulonimbus elect : Sharpe Products has 1 million outstanding shares and 9 directors to be elected. Cumulonimbus Holdings owns 175,000 shares of Sharpe. How many directors can Cumulonimbus elect with cumulative voting?
Items would affect a company''s ability to attract new : 1. How do you think each of the following items would affect a company's ability to attract new capital and the flotation costs involved in doing so?
Write a program which print complete name and the city name : Write a program which print your complete name and your city name at the middle two rows of the screen with the following attributes. Use white back ground and blue foreground color ifthe length of the name is greater than the length of the city nam..
Explain mixtures of diastereomeric 1,3-dimethylcyclopentanes : Mixtures of diastereomeric 1,3-dimethylcyclopentanes are formed on catalytic hydrogenation of all but one of the following. Which compound gives only a single stereoisomer of 1,3-methylcyclopentane
What will be the effect of a rise in interest rates : When the cost of an investment come before that investment's benefits, what will be the effect of a rise in interest rates on the attractiveness of that investment to potential investors?
Which describes the annual percentage rate best : Which describes the annual percentage rate best?
Calculate the future value of an investment : Calculate the future value of an investment, given the following characteristics: (a) PV: $30,000, (b) NPER: 25, (c) Rate: 5%.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate sending and voltage-current and voltage regulation

The line transfer parameters are : A=D=0.9; B=j200 & C=j0.002. a0. Calculate the sending and voltage , current and voltage regulation. using the line loadability equation, calculate the line surge impedance loading ' SIL" and the normal operating ..

  Conduct a hypothesis test to prove the theorem

Two teams of workers assemble automobile engines at a manufacturing plant in Michigan. Quality control personnel inspect a random sample of the teams assemblies and judge each assembly to be acceptable or unacceptable.

  Design the circuit using as few d flip flops as possible

Assume A is the MSB and B is the LSB. The circuit produces an output of 1 if and only if the sum of the current 2-bit input and the previous 2-bit input is equal to 6. Design the circuit using as few D flip flops as possible. Draw the state diagra..

  Design a bus with 3 bits in the address of the source

Design a bus with 3 bits in the address of the source, 4 bits in the address of the destination and 2 bits of data to be transmitted. Use gates only. Hint: good solution should be based on 2-dimensional decoding.

  Determine the bus voltages at midnight

Draw the positive, negative, and zero sequence networks for the system. Include all impedance values and determine the bus voltages at midnight? What problem(s) do you detect?

  Design and simulate a power supply that takes line voltage

Design and simulate a power supply that takes line voltage and produces a 15V output with less than .5% ripple voltage. For your design, provide all the data sheets, calculations and simulations for the output characteristic

  Determine the complete response for each system

Use z transforms to find the ZIR yZI(k), the ZSR yZS(k), and the complete response y(k) for each system. (E+0.5){y(k)} = 0, y(0) = 0. (E2-3E+2){y(k)} = us(k), y(0) = 2, y(1) = 0. (us(k) = unit step sequence.)

  Write and test a c program that outputs a waveform

Write and test a C program that outputs a waveform that switches from 10.0 kHz with a 50% duty cycle to 25.0 kHz with a 5% duty cycle every 5 seconds. Your code design must be modular - initializations and program operations are to be performed

  Find what is the number of levels used for quantization

20 s20 signals, each of bandwidth 5 kHz and peak-to-peak range of 4 V, are sampled at their Nyquist rates, quantized uniformly, encoded using PCM, multiplexed in time domain. The multiplexed stream has the rate of 2 Mbps.

  Compute the maximum torque in nm which the motor can deliver

A 2000 hp, 1.0 power factor three phase Y connected 2300V, 30 Pole, 60Hz; synchronous motor has a synchronous reactance of 1.95 ohms/phase. For this problem all losses may be neglected.

  How does the bandwidth of the pci bus compare firewire

The PCI bus found in many desktop computers transmits 64 bits perclock cycle at a 33MHz clock rate. How does the bandwidth of the PCI bus compare to the serial firewire (IEEE 1394) serial busspecification, which is 400Mbits/s

  Determine what is the cost per ic

A semiconductor company has the following costs associated with Product X: - Fixed cost of $1B ($1,000,000,000) - Die cost of $6 at a die yield of 50% - Testing and packaging cost of $3 per die - A final test yield of 90% with a product volume of 500..

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