Sunidhi Bansal has Published 1100 Articles

C++ Program for quotient and remainder of big number

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 12:15:19

259 Views

Given a sting of a big number say num and another big number say m; the task is to print the quotient using divide operation and the remainder of the big number using modulus.The output should be Remainder = xxx; Quotient = yyyLet’s assume we have an input num = ... Read More

C Program that receives a number and prints it out in large size

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 11:53:00

271 Views

Given a number n in form of a string; the task is to print that following number in large using hash symbols.Like we have provided a number “1234”The representation of the following number should be −Likewise we want our solution to be printed −ExampleInput: n[] = {“2234”} Output:Input: n[] = ... Read More

C Program to check if a number belongs to a particular base or not

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 11:27:45

788 Views

Given a number as a string and a base; the task is to check whether the given number of is of that given base or not.We have to check the number and the base according to the number system in which there are bases like 2 for a binary number, ... Read More

C Program for N-th term of Arithmetic Progression series

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 11:10:57

8K+ Views

Given ‘a’ the First term, ‘d’ the common difference and ‘n’ for the number of terms in a series. The task is to find the nth term of the series.So, before discussing how to write a program for the problem first we should know what is Arithmetic Progression.Arithmetic progression or ... Read More

C Program for N-th term of Geometric Progression series

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 11:06:09

4K+ Views

Given ‘a’ the First term, ‘r’ the common ratio and ‘n’ for the number of terms in a series. The task is to find the nth term of the series.So, before discussing how to write a program for the problem first we should know what is Geometric Progression.Geometric progression or ... Read More

C Program to calculate the Round Trip Time (RTT)

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 10:59:01

905 Views

Given an Url address of any website; the task is to calculate the round trip time of a website.Round Trip Time(RTT) is the total time or the length of a time which is taken to send a signal plus the time taken to receive the acknowledgement of that signal to ... Read More

C Program to Change RGB color model to HSV color model

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 10:52:39

2K+ Views

Given RGB color range in form of integers; the task is to find its appropriate HSV color by converting the RGB color rangeWhat is RGB color modelRGB color model comprised of three colors Red, Green and Blue. RGB model is a color model which is widely used in the display ... Read More

C Program to convert a given number to words

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 10:45:22

11K+ Views

Given a string consisting of numerical values, the task is to covert those given numbers in words.Like we have an input “361”; then the output should be in words i.e, ” Three hundred sixty one”. For the solution of the following problem we have to keep in mind the numbers ... Read More

Printing all subsets of {1,2,3,…n} without using array or loop in C program

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 10:27:55

833 Views

Given a positive integer n we have to print all the subsets of a set of {1, 2, 3, 4, … n} without using any array or loops.Like we have given any number say 3 s we have to print all the subset in the set {1, 2, 3} which ... Read More

Program to check Strength of Password in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Nov-2019 10:14:56

6K+ Views

Given a string input containing password characters, the task is to check the strength of the password.The strength of the password is when you tell that the password is whether easily guessed or cracked. The strength should vary from weak, average and strong. To check the strength we have to ... Read More

Advertisements