Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1.Write a program with three functions A(), B() and C(). B() is written in asssembly lang.

2. A() should call B() passing a 64-bit integer as an argument.

3. B() should be written in asm and interpret that as a 8-byte ASCII string and print individual characters on screen. You need to call the write() system call from assembly language using the syscall instruction, passing appropriate arguments.

4. Modify the stack in the function B() in such a way that when B() executes the ret instruction, it jumps to a third function C(). C() must also be written in C. This MUST happen without an explicit call to function C(). A mere ret from B, should pass the control to function C() instead of A(). Finally, the function C() needs to terminate the program by using the exit() system call.


Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong". It doesn't matter if it's in uppercase or lowercase, as long as it's spelled correctly, it's considered correct.


Now, will you take on this task?


Input

A line containing four one-letter strings separated by a space.


c·O·D·y

Output

A line containing a string.


Correct




Let us now try comparing two numbers by letting the user input two different numbers and say "Greater" if the first inputted number is greater than the second one, and "Lesser" if it’s the other way around.

Let's go!


Input

A line containing two different numbers separated by a space.


1.2·1.02

Output

A line containing a string.


Greater

Did you know that in lotteries, a 3-digit number with the same numbers in all digits like 777 will hit the jackpot in a casino? In the same manner, let's make a program that will test if a certain 3-digit number hits a jackpot or not by identifying if all the digits of a given number is the same as the second inputted number. If it is, print "Jackpot!"; else, print "Nah".

Let's try this out now!


Input

A line containing two integers separated by a space.


777·7

Output

A line containing a string.


Jackpot!

I wanna experiment on looping through a range of numbers that will be randomly inputted by the user. However, I don't want to let them see the loading percentage that is divisible by 4, so please exclude those for me when printing it out.

Thank you!

Instructions

  1. Create two variables and assign them to an input() function. The first variable will accept the starting integer and the second one will accept the ending integer of the range.
  2. Use the power of loops to loop through the range of the first inputted integer until the second one (inclusive), and print out the number with the correspoinding format shown on the sample output, with each statement separated on each line.
  3. However, skip the printing of statement if the integer is divisible by 4.
  4. Tip: Utilize the continue keyword to complete the process.

Input

A line containing two integers separated by a space.

2·10

Output

Multiple lines containing a string and an integer.

Loading...2%
Loading...3%
Loading...5%
Loading...6%
Loading...7%
Loading...9%
Loading...10%






Don't you find it amazing to discover words and sentences that have the same first and last letter? We just don't usually notice them, so we can try it out by coding out this problem instead! Print out "Yes" if the first and last characters of the given string are the same, and "No" otherwise. It doesn't matter if they're in lowercase or uppercase, as long as it's the same letter, it fits the description.

So, what are you waiting for? Code now!


Input

A line containing a string.


Pop·it·up

Output

A line containing a string.


Yes

There are different kinds of numbers, but among them all, the most commonly used numbers in our daily lives are those positive ones. So, I only want you to count all the positive numbers from the 4 outputted values and print out the result.


Go and search for the positive ones among these four!


Input

A line containing four numbers (may contain decimal places) separated by a space.


2·-4·3.6·1

Output

A line containing an integer.


3

Create a program that would accept two (2) user inputs and will be display the sum, difference, product, quotient, and, power of these user inputs. Refer to the following sample output of the program.


Sample Program Output


SIMPLE CALCULATOR

—————————————————

Enter 1st Number:

4.25

Enter 2nd Number:

2.5

—————————————————

Sum: 6.75

Difference: 1.75

Product: 10.625

Quotient: 1.7

Power: 37.2367976813595


determine what's wrong in this code. why x is not defined? Show the correct code.


x.field_names = [ "City name", "Area", "Population", "Annual Rainfall"]

list1 = [


["Adelaide", 1295, 1158259, 600.5],


["Brisbane'', 5905, 1857594, 1146, 4],


[ "Darwin", 112, 120900, 1714, 7],


["Hobart", 135, 20556, 619.5],


["Sydney", 2058, 4336374, 1214.8],


["Melbourne", 1566, 3806092, 646.9],


["Perth", 5386, 1554769, 869.4]]


for i in list1:

x.add_row(i)



Dim x as integer=5 If x<3 then Y=7 Else Y=8 endif y=?
LATEST TUTORIALS
APPROVED BY CLIENTS