Skip to main content

Posts

Showing posts with the label output

Featured Post

Data Mining with Weka -Installation

Weka - Data mining Tool W eka is a tool for big data and data mining. It is used to various classification, experiments, and analysis over large data sets. Installation Guide -weka  You can download Weka from   here   and follow the normal installation procedure. After completion you will get following window, here you can begin your classification or experiment on different data sets with Weka.

Java Tutorial - (Input) Scanner

3. Scanner import java.util.Scanner; public class App{ public static void main(String[] args) { //create scanner object Scanner input = new Scanner(System.in); //output the prompt System.out.println("Enter a number: "); //wait for the user to enter a number int num = input.nextInt();         //output System.out.println("you entered: "+num); } } Output : User Input Note:1. For: String line = input.nextLine(); and  Double value = input.nextDouble(); And 2. Always save java program as (In this case: App.java) class name.java.

Compiling sample program in C++

Write a program to print hello.    /* This is use to write comment multiplication and slash */ #include<iostream>     /* header file library for visual C++ programming*/   using namespace std;                        /*The new feature in c++ for standard name space*/  int main()                                                    /* Main function of program*/ {                                                                             /*opening curly braces for function main*/  cout <<"Hello World ! \n"   /*cout is use as called out or display output with  << "string"syntax; \n is valid  C++ syntax for newline */  return 0; /*This is the termination point of program*/ } /*closing curly braces for function main*/ OUTPUT: Hello World !