Fortune Telling Collection - Fortune-telling birth date - Vfp Mathematical Calculation Command _ How to Make VFP Calculation Expression
Vfp Mathematical Calculation Command _ How to Make VFP Calculation Expression
Vfp mathematical calculation command
The program code is as follows:
clear
n= 1。 & cyclic variable
s 1=0。 & Zhenghe
S2 = 0 & amp& amp sum of negative numbers
DO WHILE n & lt= 10
Enter "please enter a number" +ALLTRIM(STR(n))+ ":"to d "
If d> then =0
s 1=s 1+d
other
s2=s2+d
ENDIF
n=n+ 1
Endor
"sum of positive numbers ="+alltrim (str (s 1))
"sum of negative numbers ="+alltrim (str (S2))
return
- Previous article:What's the name of the boy surnamed Wu?
- Next article:Dreaming that I was standing on someone else's grave
- Related articles
- Can Rizhu's marriage be comparable to Xu Jiari's and Yihai's?
- When you are a chicken, the best life is born.
- What does it mean not to borrow money for the first month?
- Mother-in-law tells fortune all day
- Anshun blind fortune teller
- Shoes mop the floor to tell fortune.
- Fortune telling template _ Fortune telling template encyclopedia
- What kind of person is your future partner and what kind of girlfriend is your future?
- How much does it cost to read palms outside?
- Is digital life fortune telling accurate _ Is digital life fortune telling accurate and credible?