박민영

박민영's Developer Blog

Tutorials, Codes, and Ideas

자바 9주차 과제

April 21, 2022 일부는 구글링 했음 import java.util.ArrayList; import java.util.Arrays; public class Account1 extends Account { private String name; int i=0; ArrayList<Transaction> transactions = new ArrayLi...

자바 7주차 과제

April 21, 2022 import java.util.*; public class Course { private String courseName; private String[] students=new String[100]; private int numberOfStudents; public Course(String courseName) { t...

자바 6주차 과제

April 21, 2022 둘다 맡겼음 import java.util.Scanner; public class LinearEquation { private int a,b,c,d,e,f; public LinearEquation(int a, int b, int c, int d, int e, int f) { this.a = a; this....

코드업 C++ 기초 100제 [기초-데이터형][기초-출력변환]

March 25, 2022 #include <iostream> using namespace std; int main(){ unsigned int n; cin >> n; cout << n; return 0; } #include <iostream> using namespace std; int main(){ cout.setf...

자바 4주차 과제

March 22, 2022 (구글링 했음) import java.util.*; public class palindrome { public static void main(String[] args) { System.out.println("Enter a number : "); Scanner input = new Scanner(System.in); int ...

자바 5주차 과제

March 22, 2022 (구글링했음) import java.util.*; public class pivot { public static void main(String[] args) { System.out.print("Enter the number of elements: "); Scanner input=new Scanner(System.in); int num=...

자바 3주차 과제

March 11, 2022 Practice #1 Display pyramid. Write a program that prompts the user to enter an integer from 1 to 15 and displays a pyramid, as shown in the following sample run (1부터 15까지의 숫자를 입력으로 받고, 아래 그림과 같이 피라미드 ...

코드업 C++ 기초 100제 [기초-입출력]

March 8, 2022 #include <iostream> using namespace std; int main(){ int n; cin>>n; cout<<n; return 0; } 1011 #include <iostream> using namespace std; int main(){ char x; cin >&g...

코드업 C++ 기초 100제 [기초-출력]

March 8, 2022 #include <iostream> using namespace std; int main() { cout<<"Hello"; return 0; } #include <iostream> using namespace std; int main(){ cout<<"Hel...

명품 C++ 프로그래밍 7장 연습문제

March 8, 2022 7-1 (1) #include <iostream> #include <string> using namespace std; class Book { string title; int price, pages; public: Book(string title = "", int price = 0, int pages = 0) ...

« 1 2