1 package digui;
2
3 import java.util.Scanner;
4
5 public class Digui {
6 public static void main(String args[])
7 {
8 String s;
9 Scanner sr=new Scanner(System.in);
10 System.ou
Tag: classroom
9.23 Classroom Summary
Today’s manual brain is a program to judge whether it is a palindrome;
First, we must create a string input from the keyboard, and then use a do The while loop, and then define an integer var
Ruby – How do I learn in class?
class X
def initialize
@name = “Bob”
end
blah blah
end
puts X.new # I want this to print X:Bob
puts [X.new, X.new] # I want this to print [X:Bob, X:Bob] pre> to_s method of overriding clas
[C #] Classroom knowledge point # 1
Standard numeric format string https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/composit
C ++ classroom practice three
[Content in this section] Use of if…else…
[Exercise] Solving quadratic equations in one variable
[Code] #include
#include
using namespace std;
int main() {
double a, b, c;
C ++ classroom practice two
1. The type of data and the number of bytes it occupies
#include
#include
using namespace std;
int main(){
cout << "********** *****************************" << endl;
cout <<