C program reverse a string using recursion.

C program reverse a string using recursion.

Reverse a string using recursion. Procedure: #include<stdio.h> #include <string.h> void reverse(char *line) { if(*line) reverse(line+1); printf("%c",*line); } int main() { char str[] ="Learn and share blog"; printf("The reverse string is :\t");...

Check Armstrong number in a range 1 to 250.

Check Armstrong number in a range 1 to 250.

Armstrong Number: A number is refer as Armstrong number if the numbers each digits cubic sum is equivalent to that number. Example: 153 = (1)^3 + (5)^3 + (3)^3. #include <stdio.h> int main() { int number,i,j,sum,reminder,tempo,min=1,max=250; //printf("Enter a...

Check perfect number range between 1 to 50.

Check perfect number range between 1 to 50.

Check perfect number range between 1 to 50. Perfect number are summation of divisors of a number exclude the number ownself. Eample 6,28. Lets check 28. From 1 to 27 we need to check which number can divide 28. then sum of all those number whose are divisors of 28. 28...

Check wheather a number is Perfect number or not.

Check wheather a number is Perfect number or not.

Check wheather a number is Perfect number or not. Perfect number are summation of divisors of a number exclude the number ownself. Eample 6,28. Lets check 28. From 1 to 27 we need to check which number can divide 28. then sum of all those number whose are divisors of...

Laravel – Scopes (3 Easy Steps)

Laravel – Scopes (3 Easy Steps)

Scoping is one of the superpowers that eloquent grants to developers when querying a model. Scopes allow developers to add constraints to queries for a given model. In simple terms laravel scope is just a query, a query to make the code shorter and faster. We can...

CAMBRIDGE IELTS 17 TEST 3

CAMBRIDGE IELTS 17 TEST 3

READING PASSAGE 1: The thylacine Q1. carnivorous keywords: Looked like a dog had series of stripes ate, diet ate an entirely 1 .......................................... diet (2nd paragraph 3rd and 4th line) 1st and 2nd paragraph, 1st  paragraph,resemblance to a...

Cambridge IELTS 16 Test 4

Cambridge IELTS 16 Test 4

Here we will discuss pros and cons of all the questions of the passage with step by step Solution included Tips and Strategies. Reading Passage 1 –Roman Tunnels IELTS Cambridge 16, Test 4, Academic Reading Module, Reading Passage 1 Questions 1-6. Label the diagrams...

Cambridge IELTS 16 Test 3

Cambridge IELTS 16 Test 3

Reading Passage 1: Roman Shipbuilding and Navigation, Solution with Answer Key , Reading Passage 1: Roman Shipbuilding and Navigation IELTS Cambridge 16, Test 3, Academic Reading Module Cambridge IELTS 16, Test 3: Reading Passage 1 – Roman Shipbuilding and...