AD 1
Archive for November 2014
How to Find Simple Interest And Maturity Amount Using C Program ?
Program Sorce Code:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
# include <stdio.h>
main ()
{
int p=5000,r=3;
int T,SI,AMT;
printf("Principal = %d\nRate = %d % \n",p,r);
printf("Time=");
scanf("%d",&T);
SI=(p*r*T)/100;
AMT=SI+p;
printf("\n Amount at the end of %d years is=%d",T,AMT);
}
INPUT:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
# include <stdio.h>
main ()
{
int p=5000,r=3;
int T,SI,AMT;
printf("Principal = %d\nRate = %d % \n",p,r);
printf("Time=");
scanf("%d",&T);
SI=(p*r*T)/100;
AMT=SI+p;
printf("\n Amount at the end of %d years is=%d",T,AMT);
}
INPUT:-
OUTPUT:-
How to find LCM of two numbers using C language ?
Program Sorce Code:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include <stdio.h>
void main()
{
int num1, num2, max;
printf("Enter two positive integers: ");
scanf("%d %d", &num1, &num2);
max=(num1>num2)?num1:num2;
while(1)
{
if(max%num1==0 && max%num2==0)
{
printf("\nLCM of %d and %d is %d", num1, num2,max);
break;
}
++max;
}
getch();
}
INPUT:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include <stdio.h>
void main()
{
int num1, num2, max;
printf("Enter two positive integers: ");
scanf("%d %d", &num1, &num2);
max=(num1>num2)?num1:num2;
while(1)
{
if(max%num1==0 && max%num2==0)
{
printf("\nLCM of %d and %d is %d", num1, num2,max);
break;
}
++max;
}
getch();
}
INPUT:-
OUTPUT:-
How to find HCF of two numbers using C language ?
Actually, it is a very easy program. The only difficulty that one may have is to find a logic in making that program .
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include<stdio.h>
int main()
{
int x,y,m,i;
printf("Insert any two number: ");
scanf("%d%d",&x,&y);
if(x>y)
m=y;
else
m=x;
for(i=m;i>=1;i--)
{
if(x%i==0&&y%i==0)
{
printf("\nHCF of two number is : %d",i) ;
break;
}
}
return 0;
}
INPUT:-
Type this code in your compiler. Then Compile and Run. I have used Dev C++.
#include<stdio.h>
int main()
{
int x,y,m,i;
printf("Insert any two number: ");
scanf("%d%d",&x,&y);
if(x>y)
m=y;
else
m=x;
for(i=m;i>=1;i--)
{
if(x%i==0&&y%i==0)
{
printf("\nHCF of two number is : %d",i) ;
break;
}
}
return 0;
}
INPUT:-
OUTPUT:-
Microsoft Windows
Microsoft Windows or Windows is a super family of graphical operating systems developed, marketed, and sold by Microsoft.
It consists of several families of operating systems, each of which cater to a
certain sector of the computing industry. Active Windows families include Windows NT, Windows Embedded and Windows
Phone; these may encompass subfamilies, e.g. Windows
Embedded Compact (Windows CE) or Windows Server. Defunct Windows
families include Windows 9x and Windows
Mobile.
Microsoft
introduced an operating
environment named Windows on November 20, 1985 as a graphical operating system shelf or MS-DOS in response to the growing interest in graphical user interfaces (GUIs). Microsoft Windows came to dominate the world's personal computer market with over 90% market share, overtaking Mac OS, which had been introduced in
1984. However, it is outsold by Android on smartphones and tablets.
As of
April 2014, the most recent versions of Windows for personal computers, smartphones, server computers and embedded devices are respectively Windows 8.1, Windows Phone 8.1, Windows Server 2012 R2 and Windows
Embedded 8. A specialized version of Windows runs on the Xbox One game console.
Adidas
ADIDAS AG is
a German multinational corporation that designs and manufactures
sports shoes, clothing and accessories. The company is based in Herzogenaurach, Bavaria, Germany.
It is the holding company for the Adidas Group, which consists of the Reebok sportswear
company, Taylor Made-Adidas golf company (including Ashworth), Rockport,
and 9.1% of FC Bayern Munich. Besides sports footwear, Adidas also
produces other products such as bags, shirts, watches, eyewear and other sports
and clothing-related goods. Adidas is the largest sportswear manufacturer
in Europe and the second biggest in the world, after Nike.
Adidas was founded in 1949 by Adolf
Dassler, following a family feud at the Gebrüder Dassler Schuhfabrik company
between him and his older brother Rudolf. Rudolf had earlier
established Puma, which quickly became the business rival of Adidas. Both
the Adidas and Puma companies still remain based in Herzogenaurach,
Germany to this day.
The company's clothing and shoe designs
typically feature three parallel bars, and the same motif is incorporated
into Adidas's current official logo.
Puma
PUMA SE (officially branded as PUMA) is a major German multinational company that produces athletic and casual
footwear, as well as sportswear,
headquartered in Herzogenaurach, Bavaria, Germany. The company was formed in
1924 as Gebrüder Dassler
Schuhfabrik by Adolf and Rudolf
Dassler. The relationship between the two brothers deteriorated until the two
agreed to split in 1948, forming two separate entities, Adidas and Puma.
Both companies are currently based in Herzogenaurach, Germany.
Puma
makes football shoes and has sponsored a number of
footballers, including Pelé, Eusébio, Johan Cruyff, Diego Maradona,Lothar Matthäus, Kenny Dalglish, Thierry Henry, Robert Pires, Zlatan Ibrahimović, Radamel Falcao, Sergio Agüero, Cesc Fàbregas,Marco Reus, Gianluigi Buffon and Mario
Balotelli. Puma is the sponsor of the Jamaican track athlete Usain Bolt. In the United States, the
company is known for the suede
basketball shoe it introduced in
1968, which eventually bore the name of New
York Knicksbasketball star Walt
"Clyde" Frazier, and for its endorsement partnership with Joe Namath.
Following
the split from his brother, Rudolf Dassler originally registered the
new-established company as Ruda,
but later changed to Puma. Puma's
earliest logo consisted of a square and beast jumping through a D, which was registered, along
with the company's name, in 1948. Puma's shoe designs feature the distinctive
"Formstrip", with
clothing and other products having the logo printed on them.
The
company offers lines of shoes and sports clothing designed by Lamine Kouyate,
Amy Garbers, and others. Since 1996 Puma has intensified its activities in the
United States. Puma owns 25% of American brand sports clothing maker Logo
Athletic, which is licensed by American professional basketball and association
football leagues.
Since
2007 Puma has been part of French group Kering (formerly known as
Pinault-Printemps-Redoute or PPR).