Questions: 1 680

Answers by our Experts: 1 680

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

Write a program that let's you input a string. The program then should push the characters of the string onto a stack, one by one, and then pop the characters from the stack and display them. This results is displaying the string in reverse order.

Devise a c programming interface for a stack, i.e a (stack.h) header file. Your stack should not arbitrarily add constraint(i.e: max depth of stack).


Taylor series expands function into a finite sequence of a variable x or a finite series plus a


remainder. A complex electromagnetic signal transmitted from a radio transmitter can be


decomposed into its components by using Taylor approximation, which is equivalent to estimating


the parameters of complex exponential functions. Let x(t) be a signal transmitted. Develop a C-


script that calculates the following Taylor series approximation of function f(x) for N number of


terms. Where N is the largest whole number which is a factor of both 42 and 98. You can select any


positive real value of x.



f (x) = โˆ‘


๐’™


๐’


๐’!


๐‘ต


๐’=๐ŸŽ


= 1 +


๐’™


๐Ÿ!


+


๐’™


๐Ÿ


๐Ÿ!


+


๐’™


๐Ÿ‘


๐Ÿ‘!


........


Note : Don't use arrays, do with loops

Octal number system has been popularly used as a potential number system in computing texts,


graphics, and especially file protection systems in UNIX operating system. Develop a C- script that


takes a decimal number as an input and produces its equivalent octal number.


[DoB]10 = (----)8


DoB: Date of birth


Note : Don't use array, do with loops

A toy company manufactures electronic learning boards for kids to learn alphabets. Accordingly,



when a kid presses 1 alphabet a is shown on the screen, and when 2 is pressed ab is shown along



with the previous alphabet and so on. The patterns are likely to be as follow:





a



ab




abc



abcd



abcde



:



:



:



:



a



Develop a C-script which generates the above-mentioned pattern.


Note : Don't use array ,just use loops

A toy company manufactures electronic learning boards for kids to learn alphabets. Accordingly,





when a kid presses 1 alphabet a is shown on the screen, and when 2 is pressed ab is shown along





with the previous alphabet and so on. The patterns are likely to be as follow:







a





ab





abc





abcd





abcde





:





:





:





:





abcdefghijklmnopqrstuvwxyz





Develop a C-script which generates the above-mentioned pattern


Note: Don't use array , do with loops

Write a program to implement the Merge sort algorithm with the space optimization for





auxiliary space O(n/2)

A toy company manufactures electronic learning boards for kids to learn alphabets. Accordingly,


when a kid presses 1 alphabet a is shown on the screen, and when 2 is pressed ab is shown along


with the previous alphabet and so on. The patterns are likely to be as follow:



a


ab


abc


abcd


abcde


:


:


:


:


abcdefghijklmnopqrstuvwxyz


Develop a C-script which generates the above-mentioned pattern.


Develop a program that asks user to enter a real number. After entering the numbers, the program


should display how many positive, negatives, and zeros were entered by the user. In addition to


that, it should provide information about the majority count either of the entered numbers.


Note : use any loop and avoid to use arrays .

What will the value of theย answerย variable be after the code segment below has been run.

int answer ;ย ย 

intย number1ย = 285, number6ย = 46, number11 = 1;ย ย 

ย ย 

answer = ( number1 % number6 ) /ย number11;ย ย 




LATEST TUTORIALS
APPROVED BY CLIENTS