Code For Alls..!

get the code!!

Showing posts with label skillrack. Show all posts
Showing posts with label skillrack. Show all posts

Monday, 9 October 2017

                                          Interlace odd / even from A to B. Two numbers A and B are passed as input. The program must print the odd numbers from A to B (inclusive of A and B) interlaced with the even numbers from B to A. Input...

Saturday, 7 October 2017

                                            Print Calendar Month in Words The program must accept an integer value N and print the corresponding calendar month in words.1 - January, 2 - February, .... , 11 - November, 12 - December If...

Friday, 6 October 2017

Two string values S1 and S2 are passed as input. The program must print the output as S1 Technologies S2. Input Format: The first line denotes the value of S1. The second line denotes the value of S2. Output Format: The first line contains the output as per the description. There must be exactly one space between the words. Boundary Conditions: Length...
Given a positive integer N as the input, the program must print yes if N is a perfect number. Else no must be printed. Input Format: The first line contains N. Output Format: The first line contains yes or no Boundary Conditions: 1 <= N <= 999999 Example Input/Output 1: Input: 6 Output: yes Example Input/Output 2: Input: 8 Output: no Program: #include<stdio.h> #include...

Monday, 25 September 2017

Sunday, 17 September 2017