我怎么把这个子并把它变成一个我能看到的流程图? [英] How would I take this sub and turn it into a flow chart that I can read?

查看:70
本文介绍了我怎么把这个子并把它变成一个我能看到的流程图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sub DatingGame()

Dim P As Integer
Dim C As Integer

P = InputBox("How is his/her personality on a scale of 1 to 5?")

If P < 3 Then
  MsgBox "Don't date him/her?"
ElseIf P = 3 Then
  C = InputBox("How cute is he/she?")
    If C < 3 Then
      MsgBox "Don't date him/her/"
    Else
      MsgBox "As least one date won't hurt."
    End If
  Else
    MsgBox "Definitely date him/her."
End If


End Sub





我尝试过:



我只是很困惑,我认为应该很容易,但我不知道。



What I have tried:

I just am very confused, I think it should be easy but I don't know.

推荐答案

从这里开始:如何绘制流程图 - Google搜索 [ ^ ]

但是如果你不能只用两个if条件来自己做...:叹气:
Start here: how to draw a flowchart - Google Search[^]
But if you can't do that on your own with only two "if" conditions... :sigh:


这篇关于我怎么把这个子并把它变成一个我能看到的流程图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆