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

  Design an 8-bit counter that counts up starting from 0

The counter must stop at a value which is defined by using the 8 slide switches. Use the discrete LEDs as the output to validate the counter. The counter should run when a push button ‘run' is being pressed.

  Determine expression describing spectrum and time waveform

A given signal f(t) is multiplied by this periodic signal. Determine an expression describing the spectrum and the time waveform of the resulting amplitude-modulated signal if all componets except those centered at + Wc

  Draw the input output and transfer characteristics of mosfet

1)what are the significance of threshold voltage in enhancement mode MOSFET and depletion type MOSFET 2) draw the input , output and transfer characteristics of MOSFET

  Find the attenuation rate after a wave propagates on line

A transmission line is specified by the following, while operated at omega w=6*10^8 rad/s, L'= 0.4*10^-6 H/m, C'=40*10^-12 F/m, G'=80*10^-6 S/m, and R'=20 ohms/m. Find the attenuation rate after a wave propagates 10 meters on this line.

  Create a pass transistor schematic to implement the function

For each of the following functions, put the equation in the form of a Shannon decomposition. Create a pass transistor schematic to implement the function. Count the number of NMOS and PMOS transistors and the number of inverters.

  Calculate the conductivity of the material

An n-type semiconductor is known to have an electron concentration of 5 × 10 ^17 m-3 . If the electron drift velocity is 350 m/s in an electric field of 1000 V/m, calculate the conductivity of this material.

  What will be the speed if the load torque is increased by 44

A 220V dc series motor runs at 700 rev/min when operating at its full-load current of 20A. The motor resistance is 0.5W and the magnetic circuit may be assumed unsaturated. What will be the speed if: (i) the load torque is increased by 44

  Explain power dissipation problems

Power Dissipation Problems, A signal generator outputs a sine wave signal with a frequency of 1000 Hz and an rms voltage of 20.0 V. The output of the spectrum analyzer is connected to a 200 ohm resistor.

  How many quantization bits must be used to satisfy

An analog signal ranging between 0 and 1 V must be quantized. The midrange quantization errors must be no greater than 0.1V. How many quantization bits must be used to satisfy this requirement

  Design a combinational circuit that accepts a 4-bit number

Design a combinational circuit that accepts a 4-bit number and generates a 3-bit binary number output that approximates the square root of the number. For example, if the square root is 3.5 or larger, give a result of 4.

  Determine the force exerted on a point charge q1

Find the force exerted on a point charge Q1 by the point charges Q2 andQ3. Assume that Q1 =2.5[nC], Q2 = -12.0[nC], andQ3= -1.7[nC] are located at (0,-1,2)[m],(1.5,2,-1)[m],k and (-1,-1.5,2)[m], respectively.

  How many peaks occur in the magnitude response

Determine the maximum and minimum values of the magnitude response. How many peaks occur in the magnitude response in the frequency range from zero to 2π. What are the locations of the peak and dips

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