ViijayScript: June 2016

Thursday, 30 June 2016

The #Ultimate #guide to #download #learn and #use #top 4 #video #editing #software

Hello netizens, On this post I am going to tell The #Ultimate #guide to #download #learn and #use #top 4 #video #editing #software .I can provide everything you need to learn and use this software.

1). #Lightworks is a video editor is open source and it has many features...
1.Supports All major operating systems
2.Unmatched video format support
3.Dedicated Web Export
4. Optimized for speed
5.World class Trimming for fast precision editing
6. Multi-cam Editing and many more...

In order to learn to use this software you need to download this software.

Several interactive tutorials link are available on this post.
1.Content Manager Group Enhancements
2.Keyboard Shortcut Updates
3.Ultra HD Workflows
4.Applying Colour LUTs
5.Boris FX & Graffiti Pro Bundle
 

2.) #DaVinci Resolve 12 combines professional non-linear video editing with the world’s most advanced color corrector so now you can edit, color correct, finish and deliver all from one system.This video editor has many features…
1.The world’s most advanced color grading tools.
2.Professional editing from rough cut to finished edit.
3.Super power and real time performance.
4.Work faster with absolute control
5.Ensure complex jobs are well organized and many more

In order to learn to use this software you need to download this software

Several interactive tutorials link are available on this post.
1.DaVinci Resolve 12 Walkthrough at NAB
2.What is new in this software
3.Editing in DaVinci Resolve 12
4.Leaving Premier Pro for DaVinci Resolve
5. Multicam Editing and many more


3.) #OpenShot Video Editor is a program designed to create and edit videos on Linux.It can easily combine multiple video clips, audio clips, and images into a single project, and then export the video into many common video formats. OpenShot is a non-linear video editor, which means any frame of video can be accessed at any time, and thus the video clips can be layered, mixed, and arranged in very creative ways.All video clip edits (trimming, cutting, etc...) are non-destructive, meaning that the original video clips are never modified.

This video editor has many features…

Support for many video, audio, and image formats (based on FFmpeg)

Gnome integration (drag and drop support)

Multiple tracks

Clip resizing, trimming, snapping, and cutting

Video transitions with real-time previews

Compositing, image overlays, watermarks

Title templates, title creation, 3D animated titles

SVG friendly, to create and include titles and credits

Scrolling motion picture credits

Solid color clips (including alpha compositing) and many more

In order to learn to use this software you need to download this software

Several interactive tutorials link are available on this post.

1.Getting Started
2.Learn OpenShot in 5 Minutes!
3.Main Window
4.Projects - Create, Open, and Save
5.Import Files – Audio, Video, and Images and Read More...

4.) #Cinelerra has been freely download over 1 Million times since 2002 and is used daily by thousands of artists everyday in over 50 countries. We are representing the media generation who believes they should always have access to capable and effective free media production software in order to pursue their artistic and technological interests. Cinelerra is designed by an artists for artists and it not a science project nor a museum piece, it is a active growing software application that has been freely downloaded for over ten years by artists all over the world.

This video editor has many features…

1.Editing
2.Effects
3.Audio
4.Render

In order to learn to use this software you need to download this software

Several interactive tutorials link are available on this post to read click here

If our post is helping you then please share it with your near and dear ones.

The #Ultimate #guide to #download #learn and #use #top 2 #vector #graphics #editing #software

Hello netizens, On this post I am going to tell The #Ultimate #guide to #download #learn and #use #top 2 #vector #graphics #editing #software .I can provide everything you need to learn and use this software.

1. #Inkscape is professional quality vector graphics software which runs on Windows, Mac OS X and GNU/Linux. It is used by design professionals and hobbyists worldwide, for creating a wide variety of graphics such as illustrations, icons, logos, diagrams, maps and web graphics. In order to learn to use this software you need to download this software.
Several interactive tutorials link are available on this post.

1.Basic Tutorial
2.Advanced Tutorial
3.Shapes Tutorial
4.Bitmap Tracing Tutorial
5.Calligraphy Tutorial
Read More...

2. #OpenOffice.org Draw is a vector-based drawing program rather than a raster-based program. This means Draw is created of distinct objects that can individually be selected and manipulated. In contrast, raster-based programs, like MS Paint or the Gimp, store pixels. In a vector-based program, a line is defined by as a starting point, an ending point, and a color. You can change the color and other properties after creating the line. In contrast, a line in a raster-based program is simply a series of pixels and cannot readily be changed once created.To learn to use this software you have to download this software

A full tutorial is available for this software Click here to view tutorial.

If our post is helpful then please share it with your near and dear ones.

Tuesday, 28 June 2016

#List of #top 8 #apps which can #help #you to #do #common #tasks with #your #smartphones



Hello netizens, On this post I am going to tell #List of #top 8 #apps which can #help #you to #do #common #tasks with #your #smartphones .Here I am listing 8 blog posts to help you.

1.An App which can help you to play all type of video files.View Solution

2.An App which can help you when you feel your phone is running slow.View Solution

3.An App which can help you to protect your smartphone from illegal access.View Solution
.
4.The proven technique to record any incoming and outgoing phone call and choose which calls you want to save.View Solution

5.The best Photo Editing App for Smartphoneography that you probably don’t know.View Solution

6.A Sound book for all citizens of internet which will make you a song search engine.View Solution

7.The Best way to share your craziness with your friends, family and loved once.View Solution

8.Learn how to repair a computer offline without books and in Hindi.View Solution

If our post is helpful then please share it with your near and dear ones.

#List of #top 24 #"how_to" #blog #posts which has #most #searches on #internet

Hello netizens, On this post I am going to tell #List of #top 24 #"how_to" #blog #posts which has #most #searches on #internet .Here I am listing 24 blog posts to help you.

1.How to boost the speed of your phone by up to 60%.View Solution

2.How to stream FM radio content to your smartphone.View Solution

3.How to share data from Wi-Fi and connect your PC and smartphone.View Solution

4.How to stay connected with your favorite sports person.View Solution

5.How to store an entire encyclopedia in your smartphone.View Solution

6.How to protect your smartphone from hacking by using a zipper.View Solution

7.How to find public toilet during emergency within 5 minutes.View Solution

8.How to get favorite super hero comics for free.View Solution

9.How to get Indian Calendar with Indian festival for free.View Solution

10.How to learn Programming language such as Python, Assembly, C, C++, C# (C Sharp), JavaScript, PHP, Java without books.View Solution

11.How to learn Physics,Chemistry and Maths formulas for Students preparing for Class 11,12 Boards (CBSE, ISC, etc.), IIT JEE and Engineering Students.View Solution

12.Learn how to repair a computer offline without books and in Hindi.View Solution

13.How PHP Programming directly from your phone finally made easy.View Solution

14.How to become master in Programming Quiz within 2 weeks.View Solution

15.How to develop first android app offline tutorial.View Solution

16.How to convert text to speech and talk in foreign language.View Solution

17.How to get all information of Indian law in hindi format without books or internet.View Solution

18.How to design your own ringtone for incoming calls,alarms and notification.View Solution

19.How to learn DJ without spending any money and offline.View Solution

20.How to remember all computer shortcut keys.View Solution

21.How to know latest Employment News in India.View Solution

22.How to find Pin, PNR, IFSC, STD codes of India.View Solution

23.How to know Indian Rail Train Information without searching Internet.View Solution

24.How to manage your expense of money in efficient and proper way.View Solution

If our post is helpful then please share it with your near and dear ones.

Monday, 27 June 2016

#List of #top 5 #apps which can #help #you to #learn #SQL

Hello netizens, On this post I am going to tell #List of #top 5 #apps which can #help #you to #learn #SQL.I think you don’t know that SQL gives you the ability to find exact information in reliable way.Here I am listing 5 apps to help you.

1.Learn SQL

Whether you want to become the next greatest database designer, or you would simply like to have the ability to query databases from code, SoloLearn will take you through the fundamentals of SQL in a highly interactive, rapid, and effective manner. Learn SQL covers an array of SQL-related topics.

2.SQL Quick Tutorial

THIS TUTORIAL INCLUDES
1. BASIC LEVEL ( contains introduction, syntax and common keywords like select,delete,update)
2. ADVANCE LEVEL ( contains keywords like join,drop etc.)
3. FUNCTIONS ( contains Functions like avg,sum,count etc.)

3.SQL Tutorial/Editor

This tutorial along with "SQL EDITOR" can be also used by the beginners to learn the SQL and about how data can be inserted , updated and extracted from a database.Learn and Practice query
1.Simple Design and require low system memory.
2.Manage your own database.
3.Execute all type of queries like SELECT, INSERT, UPDATE, DELETE, DROP, CREATE, ALTER.. etc.

4.SQL Tutorial

The SQL language is used to access and manipulate data in any database on the market, such as databases to MySQL, Oracle, DB2, SQL Server, Access.
SQL is a structured language and an ANSI standard for accessing and manipulating data from any database.

5.SQL Tutorial

SQL is a database computer language designed for the retrieval and management of data in relational database. SQL stands for Structured Query Language.

If our post is helpful then please share it with your near and dear ones.

#List of #top 5 #apps which can #help #you to #learn #Perl

Hello netizens, On this post I am going to tell #List of #top 5 #apps which can #help #you to #learn #Perl. I think you don’t know that this language is key component of cyber security.Here I am listing these 5 apps to help you.

1.Learn Perl

They can teach you perl tutorial
They can teach you perl compiler
They can teach you perl interpreter
They can teach you perl interview
They can teach you perl ide
They can teach you perl language

2.Learn Perl Offline

Learn Perl is full offline manual of Perl.It Includes Perl Tutorials, Perl Manual, Perl Reference and All.

3.Learn Perl Programming

"Perl Programming" includes:

Introduction to Perl,
Basics of Perl,
Variables,
Scalars,
Array,
Hashes,
Conditional Statements,
Loops,
Subroutines.

4.Learn Perl

Perl is a programming language developed by Larry Wall, especially designed for text processing. It stands for Practical Extraction and Report Language. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

5.Tutorials point

You can Perl as well as different programming languages with tutorials point.

If our post is helpful then please share it with your near and dear ones.

#List of #top 5 #apps which can #help #you to #learn #Python

Hello netizens, On this post, I am going to tell #List of #top 5 #apps which can #help #you to #learn #Python.I think you don't know that Python is used by data scientists as their main programming language.Here I am listing these 5 apps to help you.

1.Learn Python

There really is only one way to learn to Python. You must read the code and write code (as computer programs are often called).They are going to show you lots of code. You should type in the code that they show you to see what happens. Play around with it and make changes.

2.QPython

They can teach you Python tutorial
They can teach you Python programming
They can teach you Python beginners
They can teach you Python cheat sheet
They can teach you Python documentation
They can teach you Python for beginners
They can teach you Python free books
They can teach you Python for dummies
They can teach you Python guide
They can teach you Python handbook
They can teach you Python learn
They can teach you Python language
They can teach you python programming language
They can teach you Python programming guide
They can teach you python reference
They can teach you Python tutorial for beginners.

3.Learn Python Programming

In this Python for Beginners course, Instructor Alex Bowers will teach you how to quickly write your first program in Python! You will also learn how to create custom modules and libraries. This comprehensive course covers the basics of Python as well as the more advanced aspects such as debugging and handling files. With your purchase, you will gain access to all 13 chapters of this Python for Beginners course as well as labs and code files.

4.Code in Python

QPython is a script engine that runs Python on Android devices. It lets your android device run Python scripts and projects. It contains the Python interpreter, console, editor, and the SL4A Library for Android.

5.Python Tutorial

They have listed all the important and yet basic concepts of Python.
Concepts covered - Operators, Database operations, Threading, Objects & Classes, Lists etc.

If our post is helpful then please share it with your near and dear ones.

#List of #top 5 #apps which can #help #you to #learn #JavaScript

Hello netizens, On this post I am going to tell #List of #top 5 #apps which can #help #you to #learn #JavaScript .I think you don't know that many new websites uses JavaScript as their main programming language.Here I am listing these 5 apps to help you.

1.Learn JavaScript

Learn all the basic features of JavaScript programming: ways to make your website more interactive, change website content, validate forms, create cookies, and so much more.
Complete a series of exercises and hands-on practice sessions, designed to guide you through the process of creating your own JavaScript code in an entertaining and educational way totally FREE.Further your career - or simply gain a new skill - while playing along with SoloLearn’s engaging FREE JavaScript tutorial.

2.Learn programming

It contains a list of all elements used in JavaScript Explanation, see the browser and source code. The tests, which are then evaluated in the form of statistical tables. Sand, where one can try to write code that will automatically display it in the browser.

3.JavaScript Offline Tutorial

They have listed all the important and yet basic concepts of JavaScript.
Concepts covered - If - Else statement, Loops (for, while, do while), Functions, Alert boxes, Events, Error handling & so on.

4.JavaScript Pro Quick Guide Free

More than just a cheat sheet or reference, the JavaScript Pro Quick Guide provides beginners with a simple introduction to the basics, and experts will find the advanced details they need. Loads of extras are included: syntax, variables, operators, conditionals, looping, events, exceptions and more.

5.Learn JavaScript Offline

This is tutorial help you know about Javascirpt from basic to advanced. We provides chapters easy to learn for you.

If our post is helpful then share it with your near and dear ones.

Sunday, 26 June 2016

#Programs to #print #Fibonacci #series in #C #C++ #Java C# #Python

Hello netizens, On this post I am going to tell #Programs to #print #Fibonacci #series in #C #C++ #Java C# #Python.

Program in C:

#include<stdio.h>
int main ()
{
int first = 0 ,second = 1 ,third ,i ,n ;
printf ("Enter how many elements?" );
scanf ("%d" , & n );
printf ("\n%d %d" ,first ,second );
for ( i = 2 ;i < n ; ++ i )
{
third = first + second ;
printf (" %d" ,third );
first = second ;
second = third ;
}
return 0 ;
}

Program in C++:

#include<iostream.h>
#include<conio.h>
int main()
{
int a=0,b=1, c,n;
cout << "Enter the value of n ";
cin >> n;
cout << endl << a <<" " <<b << " " ;
for(int i =0; i<(n-2); i++)
{
c = a+ b;
cout << c << " ";
a=b;
b=c;
}
getch();
return 0;
}

Program in Java:

class Fibonacci {
public static void main ( String args []){
int num =Integer.parseInt ( args [0 ]) ;
System . out.println ( "Fibonacci Series" ) ;
int f1, f2 = 0 , f3 = 1;
for ( int i = 1 ;i <= num ; i ++ ){
System . out.print ( " " + f3 + " " );
f1 = f2 ;
f2 = f3 ;
f3 = f1 + f2 ;
}
}
}

Program in C#:

1. /*
2. * C#  Program to Generate Fibonacci Series
3. */
4. using System ;
5. using System.Collections.Generic ;
6. using System.Linq ;
7. using System.Text ;
8.
9. namespace fibonaci
10. {
11. class Program
12. {
13. static void Main (string [] args )
14. {
15. int i, count, f1 = 0 , f2 = 1 , f3 = 0 ;
16. Console.Write ("Enter the Limit : " );
17. count = int .Parse ( Console.ReadLine ());
18. Console.WriteLine ( f1 );
19. Console.WriteLine ( f2 );
20. for ( i = 0 ; i <= count ; i ++)
21. {
22. f3 = f1 + f2 ;
23. Console . WriteLine (f3 );
24. f1 = f2 ;
25. f2 = f3 ;
26. }
27. Console.ReadLine ();
28.
29. }
30. }
31. }

Program in Python:

def fibonacci (n):
a = 0
b = 1
for i in range(0, n):
temp = a
a = b
b = temp + b
return a

If our post is helpful then please share it with our near and dear ones.

Wednesday, 15 June 2016

#Program to #check #perfect #number in #C #C++ #Java C# #Python

Hello netizens, On this post I am going to tell #Programs to #check #perfect #number in #C #C++ #Java C# #Python.

Program in C:

#include <stdio.h>
int main(){
int n,i=1,sum=0;
printf(“Enter a number: “);
scanf(“%d”,&n);
while(i < n){
if(n%i==0)
sum=sum+i;
i++;
}
if(sum==n)
printf("%d is a perfect number",i);
else
printf("%d is not a perfect number",i);
return 0;
}

Program in C++:

#include<iostream>
#include<iomanip>
using namespace std;
int main(){
int n,i=1,sum=0;
cout<> n;
while (i<n){
if (n%i==0)
sum=sum+i;
i++;
}
if (sum==n)
cout << i << " is a perfect number" ;
else
cout << i << " is not a perfect number" ;
system( "pause" );
return 0;
}

Program in Java:

import java.io.*;
import java.util.*;
class perfect
{
public static void main(String[] args) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.print(“\nEnter a number:”);
int n = Integer.parseInt(br.readLine());
int sum = 0;
for(int i=1;i<n;i++)
{
if(n%i==0)
{
sum = sum + i;
}
}
if(sum == n)
System.out.println("\nGivener is a perfect number");
else
System.out.println("\nGivener is not perfect number");
}
}

Program in C#:

using System;
namespace example
{
class prime
{
public static void Main()
{
Console.Write(“Enter a Number: “);
int num;
num=Convert.ToInt32(Console.ReadLine());
int k;
k=0;
for(int i=1;i<=num;i++)
{
if(num%i==0)
{
k++;
}
}
if(k==2)
{
Console.WriteLine("Prime Number");
}
else
{
Console.WriteLine("Not a Prime Number");
}
}
}
}

Program in Python:

n = int(input(“enter a number to check perfect number: “))
sum = 0
for divisor in range(1, n):
if not n % divisor:
sum += divisor
if sum == n:
print(n, “is a perfect number”)

If our post is helpful then share it with your near and dear ones.

#Program to #check #prime #number in #C #C++ C# #Java #Python

Hello netizens, On this post I am going to tell #Programs to #check #prime #number in #C #C++ #Java C# #Python.

Program in C:

#include <stdio.h>
int check_prime(int);
main()
{
int i, n, result;
printf(“Enter the number of prime numbers required\n”);
scanf(“%d”,&n);
printf(“First %d prime numbers are :\n”, n);
for(i=0; i < n; i++){
result = check_prime(i);
/ if i is prime then it will return 1 /
if ( result == 1 )
printf("%d \n", i);
}
return 0;
}
int check_prime(int a)
{
int c;
/ starting from 2, if no is completely divisible by any no then it is not prime /
for ( c = 2 ; c {
if ( a%c == 0 )
return 0;
}
if ( c == a )
return 1;
}

Program in C++:

#include<iostream.h>
#include<conio.h>
void main ()
{
int num, count = 0 ;
clrscr () ;
cout <> num ;
for (int i = 2 ; i < num ; i ++ )
{
if (num % i == 0 )
{
count ++ ;
break ;
}
}
if (count == 0 )
cout << "Prime number" ;
else
cout << "Not a Prime number" ; getch () ;
}

Program in Java:

import java.util.*;
public class PrimeNumber {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(“Please enter a number: “);
int num = scanner.nextInt(); PrimeNumber primeNum = new PrimeNumber();
if ( primeNum.isPrime(num) ) {
System.out.printf(“\n Result: The number %d is Prime”, num);
} else {
System.out.printf(“\n Result: The number %d is not Prime”, num);
}
} // Method to check whether the number is prime or not
public boolean isPrime(int num) {
if ( num < 2 ) return false;
for (int i = 2; i <= Math.sqrt(num); i++) {
if ( num % i == 0 ) {
return false;
}
}
return true;
}
}

Program in C#:

using System;
namespace example
{
class prime
{
public static void Main()
{
Console.Write(“Enter a Number: “);
int num;
num=Convert.ToInt32(Console.ReadLine());
int k;
k=0;
for(int i=1;i<=num;i++)
{
if(num%i==0)
{
k++;
}
}
if(k==2)
{
Console.WriteLine("Prime Number");
}
else
{
Console.WriteLine("Not a Prime Number");
}
}
}
}

Program in Python:

number = input(‘Please enter a number:’)
i = 2
toggle = 0
while i<number:
if number%i == 0:
toggle = 1
print ("Your number is NOT a prime number!");
i = i + 1
if toggle == 0:
print ("Your number is a prime number!");

If our post is helpful then share it with your near and dear ones.

#Program to #Check #Leap #Year in #C #C++ C# #Java #Python

Hello netizens, On this post I am going to tell #Programs to #check #leap #year in #C #C++ #Java C# #Python.

Program in C:

#include <stdio.h>
int main()
{
int year;
printf(“Enter a year to check if it is a leap year\n”);
scanf(“%d”, &year);
if ( year%100 == 0)
{
if ( year%400 == 0)
printf(“%d is a leap year.\n”, year);
else
printf(“%d is not a leap year.\n”, year);
}
else if ( year%4 == 0 )
printf(“%d is a leap year.\n”, year);
else
printf(“%d is not a leap year.\n”, year);
return 0;
}

Program in C++:

#include <iostream>
using namespace std ;
int main ()
{
int year ;
cout <> year ;
if ( ( year % 400 == 0 || year % 100 != 0 ) &&( year % 4 == 0 ))
cout << "It is a leap year" ;
else
cout << "It is not a leap year" ;
return 0 ;
}

Program in Java:

public class LeapYear { public static void main(String[] args) {
int year = Integer.parseInt(args[0]);
if ( year%100 == 0)
{
if ( year%400 == 0)
System.out.println(year+“ is a leap year."+year);
else
System.out.println(year+“ is not a leap year.”+year);
}
if( year%4 == 0 )
System.out.println(year+“is a leap year.”+year);
else
System.out.println(year+“ is not a leap year.”+year);
}
}

Program in C#:

1. /*
2. C# Program to Check Whether the Entered Year is a Leap Year or Not
3. */
4. using System ;
5. using System.Collections.Generic ;
6. using System.Linq ;
7. using System.Text ;
8.
9. namespace Program
10. {
11. class leapyear
12. {
13. static void Main (string [] args )
14. {
15. leapyear obj = new leapyear ();
16. obj.readdata ();
17. obj.leap ();
18. }
19. int y ;
20. public void readdata ()
21. {
22. Console.WriteLine ( “Enter the Year in Four Digits : ” );
23. y = Convert .ToInt32 ( Console.ReadLine ());
24. }
25. public void leap ()
26. {
27. if (( y % 4 == 0 && y % 100 != 0 ) || ( y
% 400 == 0 ))
28. {
29. Console . WriteLine (“{0} is a Leap Year” , y );
30. }
31. else
32. {
33. Console . WriteLine (“{0} is not a Leap Year” , y );
34. }
35. Console.ReadLine ();
36. }
37. }
38. }

Program in Python:

def IsLeapYear(year):
if((year % 4) == 0):
if((year % 100) == 0):
if( (year % 400) == 0):
return 1
else:
return 0
else:
return 1
return 0 n = 0
print “Program to check Leap Year”
print “Enter Year: “, n = input()
if( IsLeapYear(n) == 1):
print n, “is a leap year”
else:
print n, “is NOT a leap year”

If our post is helpful then share it with your near and dear ones.

Tuesday, 14 June 2016

#Program to #find #HCF and #LCM in #C #C++ #Java C# #Python

Hello netizens, On this post I am going to tell #Programs to #find #LCM and #HCF of a #number in #C #C++ #Java C# #Python.

Program in C:

#include <stdio.h>
long gcd(long, long);
int main() {
long x, y, hcf, lcm;
printf(“Enter two integers\n”);
scanf(“%ld%ld”, &x, &y);
hcf = gcd(x, y);
lcm = (x*y)/hcf;
printf(“Greatest common divisor of %ld and %ld = %ld\n”, x, y, hcf);
printf(“Least common multiple of %ld and %ld = %ld\n”, x, y, lcm);
return 0;
}
/ if 1st no is 0 then 2nd no is gcd
make 2nd no 0 by subtracting smallest from largest and return 1st no as gcd /
long gcd(long x, long y) {
if (x == 0) {
return y;
}
while (y != 0) {
if (x > y) {
x = x – y;
}
else {
y = y – x;
}
}
return x;
}

Program in C++:

#include <iostream>
#include <string>
using namespace std;
int main()
{
int a,b,c;
cout<< "Enter two nos :" <<endl;
cout<<endl;
cout<>a;
cout<>b;
c=a*b;
while(a!=b)
{
if (a>b)
a=a-b;
else
b=b-a;
}
cout<< "HCF = " << a<<endl;
cout<< "LCM = " << c/a<<endl;
return 0;
}

Program in Java:

import java.util.Scanner;
public class JavaProgram
{
public static void main(String args[])
{
int a, b, x, y, t, hcf, lcm;
Scanner scan = new Scanner(System.in);
System.out.print(“Enter Two Number : “);
x = scan.nextInt();
y = scan.nextInt();
a = x;
b = y;
while(b != 0)
{
t = b;
b = a%b;
a = t;
}
hcf = a;
lcm = (x*y)/hcf;
System.out.print(“HCF = ” +hcf);
System.out.print(“\nLCM = ” +lcm);
}
}

Program in C#:

1. using System ;
2. using System .Text ;
3.
4. namespace forgetCode
5. {
6.
7. class program
8. {
9. public static void Main ()
10. {
11. int a , b , x , y , t , gcd , lcm ;
12. Console. WriteLine (“Enter two integers\n” );
13. x = Convert .ToInt32 ( Console.ReadLine
());
14. y =
Convert .ToInt32 ( Console.ReadLine ());
15.
16. a = x ;
17. b = y ;
18.
19. while (b != 0 )
20. {
21. t = b ;
22. b = a % b ;
23. a = t ;
24. }
25.
26. gcd = a ;
27. lcm = ( x * y ) / gcd ;
28. Console. WriteLine (“Greatest common divisor of {0} and {1}= {2}\n” , x , y , gcd);
29. Console. WriteLine (“Least common multiple of{0} and {1}= {2}\n” , x , y , lcm );
30.
31.
32. }
33. }
34. }

Program in Python:

d1 = int ( raw_input ( “Enter a number:”))
d2 = int ( raw_input ( “Enter another number”))
rem = d1 % d2
while rem!=0:
d1=d2
d2 = rem
rem = d1 % d2
print “gcd of given numbers is : %d” %(d2)
x = int(input(“Enter first number: “))
y= int(input(“Enter second number: “))
if x>y:
g=x
else:
g=y
while(True):
if((g % x ==0) and (g % y==0)):
lcm=g
break
g += 1
print “L.C.M is “,lcm

If our post is helpful then share it with your near and dear ones.

Friday, 10 June 2016

#Programs to #Convert #Celsius to #Fahrenheit in #C #C++ #Java C# #Python

Hello netizens, On this post I am going to tell #Programs to #Convert #Celsius to #Fahrenheit in #C #C++ #Java C# #Python.

Program in C:

#include <stdio.h>
#include<conio.h>
void main()
{
float c,f;
/*To convert Centigrade to Fahrenheit*/
printf(“Enter the temperature in centigrade:”);
scanf(“%f”,&c);
f=1.8*c+32;
printf(“\n\t%.2f Centigrade=%.2f Fahrenheit”,c,f);
/*To convert Fahrenheit to centigrade*/
printf(“\n\nEnter the temperature in Fahrenheit:”);
scanf(“%f”,&f);
c=(f-32)/1.8;
printf(“\n\t%.2f Fahrenheit=%.2f Centigrade”,f,c);
getch();
}

Program in C++:

# include<iostream>
using namespace std;
void main()
{
int choice;
float f, c;
cout<<“To convert your temperature from Celsius to Fahrenheit press 1:”<<endl;
cout<<“To convert your temperature from Fahrenheit to Celsius press 2:”<<endl;
cout<<“Now Enter Your Choice: “;
cin>>choice;
if(choice==1)
{
cout<<“enter your temperature in Celsius : “;
cin>>c;
f = (9.0/5.0)*c + 32;
cout<<“Your temperature in Fahrenheit is = “<<f<<“\n”;
}
else if(choice==2)
{
cout<<“Enter Your Temperature In Fahrenheit : “;
cin>>f;
c = (5.0/9.0)*(f-32.0);
cout<<“Your temperature in Celsius is = “<<c<<“\n”;
}
}

Program in Java:

import java.io.*;
class CONVERSION_OF_TEMPERATURE
{
private double fahrenheit,celcius;
public static void main(String args[])throws IOException
{
System.out.println(” THIS PROGRAM IS FOR CONVERSION OF TEMPERATURE FROM .”);
CONVERSION_OF_TEMPERATURE obj=new CONVERSION_OF_TEMPERATURE();
InputStreamReader reader=new InputStreamReader(System.in);
BufferedReader input=new BufferedReader(reader);
System.out.println(“ENTER YOUR CHOICE”);
System.out.println(“1> FAHRENHEIT TO CELCIUS CONVERSION”);
System.out.println(“2> CELCIUS TO FAHRENHEIT CONVERSION”);
int c=Integer.parseInt(input.readLine());
switch(c)
{
case 1:
{
System.out.println(“ENTER THE TEMPERATURE IN FAHRENHEIT”);
System.out.print(“USER INPUT : “);
try
{
obj.fahrenheit=Double.parseDouble(input.readLine());
}
catch(Exception b)
{
System.out.println(“”);
System.out.println(“\t\tERROR FOUND : YOU HAVE TO ENTER ONLY INTEGERS PLEASE RERUN THE PROGRAM”);
System.exit(0);
}
obj.celcius=5/9.0*(obj.fahrenheit-32);
System.out.println(“”);
System.out.println(“THE TEMPERATURE IN CELCIUS IS “+obj.celcius);
break;
}
case 2:
{
System.out.println(“ENTER THE TEMPERATURE IN CELCIUS”);
System.out.print(“USER INPUT : “);
try
{
obj.celcius=Double.parseDouble(input.readLine());
}
catch(Exception b)
{
System.out.println(“”);
System.out.println(“\t\tERROR FOUND : YOU HAVE TO ENTER ONLY INTEGERS PLEASE RERUN THE PROGRAM”);
System.exit(0);
}
obj.fahrenheit=1.8*(obj.celcius+ 32);
System.out.println(“”);
System.out.println(“THE TEMPERATURE IN FAHRENHEIT IS “+obj.fahrenheit);
break;
}
default:
{
System.out.println(“ENTERED WRONG DATA THE PROGRAM WILL TERMINATE”);
}
}
}
}

Program in C#:

1. using System;
2. using System.Collections.Generic;
3. using System.Linq;
4. using System.Text;
5. namespace program
6. {
7. class Program
8. {
9. static void Main(string[] args)
10. {
11. int celsius, faren;
12. Console.WriteLine("Enter the Temperature in Celsius(°C) : ");
13. celsius = int.Parse(Console.ReadLine
());
14. faren = (celsius * 9) / 5 + 32;
15. Console.WriteLine("0Temperature in Fahrenheit is(°F) : " + faren);
16. Console.ReadLine();
17. }
18. }
19. }

Program in Python:

Script to convert Celsius to Fahrenheit:
celsius = float(raw_input(“Enter the temperature in Celsius: “));
Fahrenheit = (9.0/5.0)*celsius + 32.0;
print ‘The temperature in Fahrenheit:’, Fahrenheit;
Script to convert Fahrenheit to Celsius:
Fahrenheit = float(raw_input(“Enter the temperature in Fahrenheit: “));
Celsius = (5.0/9.0)*(Fahrenheit – 32.0);
print ‘The temperature in Celsius:’, Celsius;

If our post is helpful then please share it with your dear and near ones.

Scan this QR Code on LinkedIn

Scan this QR Code on LinkedIn