#class9th #9icse #student Java source code for calculating reccuring deposit account variables
#reccuring deposit #java #sourceCode #blueJ
This java console program helps you to calculate all the variables of reccuring deposit account chapter in class 9th Icse maths you can use this program to quickly calculate values of reccuring deposit or you can varify your's or maybe you can use it for your online exam.
//=========================================================
Source code:
import java.util.*;
class ReccuringDeposit{
// main method below.
public static void main(String args[]){
Scanner sc=new Scanner(System.in);
System.out.println("Welcome\nThis program helps u to calculate reccuring deposit values");
int m,p,r,n;
System.out.println("what do you want to calculate Princeple, maturity no., of months rate");
String ch;
ch=sc.nextLine();
switch(ch){
// rate calculation
case "rate" : System.out.println("enter priciple");
p=sc.nextInt();
System.out.println("enter no. of months");
n=sc.nextInt();
System.out.println("enter Maturity value");
m=sc.nextInt();
int y=(2400*(m-p*n))/(p*n*(n+1));
System.out.println("rate: "+y );
break;
//===============================================================================
//maturity calculation
case "maturity": System.out.println("enter rate");
r=sc.nextInt();
System.out.println("enter priciple");
p=sc.nextInt();
System.out.println("enter no. of months");
n=sc.nextInt();
int t=(p*n*(r*(n+1)+2400))/2400;
System.out.println("maturiy: "+t);
break;
//=============================================================================================
//principle calcution
case "principle":
System.out.println("enter rate");
r=sc.nextInt();
System.out.println("enter no. of months");
n=sc.nextInt();
System.out.println("enter Maturity value");
m=sc.nextInt();
int i=(2400*m)/(n*(r*(n+1)+2400));
System.out.println("Princple: "+i);
break;
//================================================================================================================
//months calculation
case "months": System.out.println("enter priciple");
p=sc.nextInt();
System.out.println("enter rate");
r=sc.nextInt();
System.out.println("enter Maturity value");
m=sc.nextInt();
double a=p*r;
double b=a+2400*p;
double c=-1*2400*m;
double d=Math.sqrt(b*b-4*a*c);
double a2=2*a;
double db=d-b;
double x1=db/a2;
double x2=(-b-d)/a2;
System.out.println("no. of months: x1="+x1+"\nx2: "+x2);
break;
default : System.out.println("Wrong choice");
}
}
}
//=========================================================
to use this program simply copy and paste this program in editor like bluej or simple editor.
then for blueJ click on void main.... to run it
for calculation of variables
write the name of it same as written in source code then write other values.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «#class9th #9icse #student Java source code for calculating reccuring deposit account variables», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.