Search

Write a program to check input strings are anagram or not.

AIM:-Write a program to check input strings are anagram or not. Input:- #include <stdio.h> #include <string.h> int isAnagram(char *firstString, char *secondString); int main() {     char firstString[100], secondArray[100];     printf("Enter first String \n");     gets(firstString);    ... Continue Reading →

Advertisements

Write a program to remove character in string except alphabets.

AIM:-Write a program to remove character in string except alphabets.   Input:- #include<stdio.h> int main() {     char line[150];     int i, j;     printf("Enter a string: ");     gets(line);          for(i =... Continue Reading →

Write a program to replace Nth position character from the string with new character.

AIM:- Write a program to replace Nth position character from the string with new character.   Input:- #include<stdio.h> int main() {     char ch[100],cha;          int pos;          printf("enter string=");     gets(ch);... Continue Reading →

Write a command line program to specify day from input date.

AIM:    Write a command line program to specify day from input date.   Input:- #include<stdio.h> int main(int argc, const char * argv[]) {          {                        ... Continue Reading →

Write a program to check whether the year is leap year or not. Eg. 2016: Leap Year

AIM:   Write a program to check whether the year is leap year or not Eg. 2016: Leap Year   input:-   #include<stdio.h> int main() {     int year;     printf("enter year=");     scanf("%d",&year);       ... Continue Reading →

Write a Program to print swastika in middle of the screen. Sample run: input:5(input must be odd and greater than 4)

AIM:-Write a Program to print swastika in middle of the screen. Sample run: input:5(input must be odd and greater than 4) Input:- #include<stdio.h> int main() {     int n;     printf("Enter a Odd number greater than 4:");  ... Continue Reading →

How To Find Discount Program Using Programming c.

Aim:-Write Program For Find Discount in Programming c Input:- #include<stdio.h> int main() {     int amount,product,discount;          printf("enter amounnt=");     scanf("%d",&amount);     printf("enter product");     scanf("%d",&product);          if (amount>=5000 &&... Continue Reading →

How to Find Number is Absalute or Not Program Using Programming c.

Aim:-Write Program For Find Number is Absalute or Not in Programming c Input:- #include<stdio.h> int main() {     int n;          printf("enter value in n=");     scanf("%d",&n);          if(n>0)     {... Continue Reading →

How Give Division to Student Program in Programming c.

  Aim:-Write Program for Give Division to Student  in Programming c Input:- #include<stdio.h> int main() {     float p;          printf("Enter Percentage p=");     scanf("%f",&p);          if(p>=60 && p<=100)     {... Continue Reading →

A WordPress.com Website.

Up ↑